aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffi/ffi_mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ffi/ffi_mac.cpp')
-rw-r--r--src/lib/ffi/ffi_mac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffi/ffi_mac.cpp b/src/lib/ffi/ffi_mac.cpp
index b3237592f..22dbb2513 100644
--- a/src/lib/ffi/ffi_mac.cpp
+++ b/src/lib/ffi/ffi_mac.cpp
@@ -16,7 +16,7 @@ BOTAN_FFI_DECLARE_STRUCT(botan_mac_struct, Botan::MessageAuthenticationCode, 0xA
int botan_mac_init(botan_mac_t* mac, const char* mac_name, uint32_t flags)
{
- return ffi_guard_thunk(BOTAN_CURRENT_FUNCTION, [=]() {
+ return ffi_guard_thunk(BOTAN_CURRENT_FUNCTION, [=]() -> int {
if(!mac || !mac_name || flags != 0)
return BOTAN_FFI_ERROR_NULL_POINTER;