diff --git a/TracyLua.hpp b/TracyLua.hpp index e4e0e71c..fd84b506 100644 --- a/TracyLua.hpp +++ b/TracyLua.hpp @@ -150,9 +150,9 @@ static tracy_force_inline void SendLuaCallstack( lua_State* L, uint32_t depth ) const char* func[64]; uint32_t fsz[64]; uint32_t ssz[64]; - uint16_t spaceNeeded = 2; // cnt uint8_t cnt; + uint16_t spaceNeeded = sizeof( cnt ); for( cnt=0; cnt