Skip to content

Commit

Permalink
fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-hx committed Feb 6, 2024
1 parent 98133e9 commit 7a3ef2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/snowflake/sb_CRTFunctionSafe.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 7a3ef2b

Please sign in to comment.