Skip to content

Commit 9ee9f13

Browse files
committed
webgl下编译报错
1 parent 34c1876 commit 9ee9f13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WebGLPlugins/i64lib.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,9 @@ static int uint64_tostring(lua_State* L) {
404404
char temp[72];
405405
uint64_t n = lua_touint64(L, 1);
406406
#if ( defined (_WIN32) || defined (_WIN64) ) && !defined (__MINGW32__) && !defined (__MINGW64__)
407-
sprintf_s(temp, sizeof(temp), "%"PRIu64, n);
407+
sprintf_s(temp, sizeof(temp), "%" PRIu64, n);
408408
#else
409-
snprintf(temp, sizeof(temp), "%"PRIu64, n);
409+
snprintf(temp, sizeof(temp), "%" PRIu64, n);
410410
#endif
411411

412412
lua_pushstring(L, temp);

0 commit comments

Comments
 (0)