please change line 512 to: t[i][3] = string.format("0x%X", t[i][2] < 0 and 2^32 + t[i][2] or t[i][2])
or t[i][3] = string.format(((t[i][2] < 0) and '-' or '') .. "0x%X", math.abs(t[i][2])) The first one displays 0xffffffff for -1 The second -0x1 for -1 I prefer the first solution. Thank you Andre ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users