proper 64bit address formatting

develop
Vitaly Pronkin 2016-07-19 01:37:29 +12:00 committed by lethosor
parent 4dd411e862
commit 3833ff2e09
1 changed files with 1 additions and 1 deletions

@ -993,7 +993,7 @@ static int meta_ptr_tostring(lua_State *state)
lua_getfield(state, UPVAL_METATABLE, "__metatable");
const char *cname = lua_tostring(state, -1);
lua_pushstring(state, stl_sprintf("<%s: 0x%08x>", cname, (uintptr_t)ptr).c_str());
lua_pushstring(state, stl_sprintf("<%s: 0x%llx>", cname, (uintptr_t)ptr).c_str());
return 1;
}