diff --git a/client/scripting.c b/client/scripting.c index cf9b5c590..d4efac99f 100644 --- a/client/scripting.c +++ b/client/scripting.c @@ -797,7 +797,7 @@ static int l_T55xx_detect(lua_State *L) { if (size != 1) return returnToLuaWithError(L, "Wrong size of useGB, got %d , expected 1", (int) size); sscanf(p_gb, "%u", &gb); useGB = ( gb ) ? true : false; - printf("p_gb size %u | %c \n", size, useGB ? 'Y':'N'); + printf("p_gb size %zu | %c \n", size, useGB ? 'Y':'N'); } case 1: { const char *p_pwd = luaL_checklstring(L, 1, &size);