aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffi/ffi_mp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ffi/ffi_mp.cpp')
-rw-r--r--src/lib/ffi/ffi_mp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffi/ffi_mp.cpp b/src/lib/ffi/ffi_mp.cpp
index 87e455ccd..fc81310ea 100644
--- a/src/lib/ffi/ffi_mp.cpp
+++ b/src/lib/ffi/ffi_mp.cpp
@@ -19,7 +19,7 @@ using namespace Botan_FFI;
int botan_mp_init(botan_mp_t* mp_out)
{
- return ffi_guard_thunk(BOTAN_CURRENT_FUNCTION, [=]() {
+ return ffi_guard_thunk(BOTAN_CURRENT_FUNCTION, [=]() -> int {
if(mp_out == nullptr)
return BOTAN_FFI_ERROR_NULL_POINTER;