From 7a3ef2b34ec5d370ab732d09a8b2c9ab42b2c3b4 Mon Sep 17 00:00:00 2001 From: sfc-gh-ext-simba-hx Date: Tue, 6 Feb 2024 15:39:21 -0800 Subject: [PATCH] fix build issue --- include/snowflake/sb_CRTFunctionSafe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/snowflake/sb_CRTFunctionSafe.h b/include/snowflake/sb_CRTFunctionSafe.h index d09f667ff2..8cbf8e9212 100644 --- a/include/snowflake/sb_CRTFunctionSafe.h +++ b/include/snowflake/sb_CRTFunctionSafe.h @@ -59,7 +59,7 @@ extern char* STDCALL sf_strerror(int errnum, char* outbuf, size_t bufsize); } // helper function for sb_strcpy, sb_strncpy and sbcat on non-Windows - static inline char* sb_copy(void* dst, size_t dstsize, char const* src, int64_t srclen) + static inline char* sb_copy(void* dst, size_t dstsize, char const* src, long long srclen) { const size_t copyLen = (srclen < 0) ? strlen(src) + 1 : srclen;