1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Fix compiler warnings

This commit is contained in:
sfan5 2024-02-23 22:21:47 +01:00
parent 6952bab519
commit 492aab20fe
6 changed files with 23 additions and 23 deletions

View file

@ -630,7 +630,7 @@ void script_dump_packed(const PackedValue *val)
printf("table(%d, %d)", i.uidata1, i.uidata2);
break;
case LUA_TFUNCTION:
printf("function(%lu byte)", i.sdata.size());
printf("function(%d bytes)", (int)i.sdata.size());
break;
case LUA_TUSERDATA:
printf("userdata %s %p", i.sdata.c_str(), i.ptrdata);