From f2b40c3e16f8018469692007205e39938be2ee71 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christophe=20Thi=C3=A9ry?= Date: Tue, 27 Sep 2011 16:22:33 +0200 Subject: [PATCH] Revert "Fix format string error." This reverts commit fa45f2acc4946349e99256a79b5d45b51462f404. --- src/bindings/lua/simgrid_lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/lua/simgrid_lua.c b/src/bindings/lua/simgrid_lua.c index 13f733d609..c01a74b63c 100644 --- a/src/bindings/lua/simgrid_lua.c +++ b/src/bindings/lua/simgrid_lua.c @@ -87,7 +87,7 @@ static const char* value_tostring(lua_State* L, int index) { break; case LUA_TTABLE: - sprintf(buff, "table(%zu)", lua_objlen(L, index)); + sprintf(buff, "table(%d)", lua_objlen(L, index)); break; case LUA_TLIGHTUSERDATA: -- 2.20.1