aboutsummaryrefslogtreecommitdiff
path: root/src/script/common/c_packer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/common/c_packer.cpp')
-rw-r--r--src/script/common/c_packer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/common/c_packer.cpp b/src/script/common/c_packer.cpp
index ede00c758..597f5e447 100644
--- a/src/script/common/c_packer.cpp
+++ b/src/script/common/c_packer.cpp
@@ -568,7 +568,7 @@ void script_dump_packed(const PackedValue *val)
printf("table(%d, %d)", i.uidata1, i.uidata2);
break;
case LUA_TFUNCTION:
- printf("function(%d byte)", i.sdata.size());
+ printf("function(%lu byte)", i.sdata.size());
break;
case LUA_TUSERDATA:
printf("userdata %s %p", i.sdata.c_str(), i.ptrdata);