From ab3d52e1a26129171b0912f2521125f1649cf471 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Wed, 11 Aug 2021 18:53:06 +1000 Subject: [PATCH] base: use correct calling convention for log_file() Use the correct HEIM_CALLCONV calling convention when setting log_file() callback, otherwise Windows build fails. --- lib/base/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/log.c b/lib/base/log.c index 7b500babc..144e6ee27 100644 --- a/lib/base/log.c +++ b/lib/base/log.c @@ -237,7 +237,7 @@ struct file_data { #define O_CLOEXEC 0 #endif -static void +static void HEIM_CALLCONV log_file(heim_context context, const char *timestr, const char *msg, void *data) { struct timeval tv;