From 04dd589b9592cb200f38601296d20e4108f8fab5 Mon Sep 17 00:00:00 2001 From: Tess Gauthier Date: Wed, 3 Aug 2022 10:42:55 -0400 Subject: [PATCH] fix debug exception with static method (#607) --- contrib/win32/win32compat/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/win32/win32compat/misc.c b/contrib/win32/win32compat/misc.c index ccdcd3498..179d9edc9 100644 --- a/contrib/win32/win32compat/misc.c +++ b/contrib/win32/win32compat/misc.c @@ -1480,7 +1480,7 @@ localtime_r(const time_t *timep, struct tm *result) return localtime_s(result, timep) == 0 ? result : NULL; } -static void +void freezero(void *ptr, size_t sz) { if (ptr == NULL)