On Sun, Jan 5, 2014 at 10:20 AM, Andre Arpin <ar...@kingston.net> wrote:

> 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])
>
>
Thanks for the patch, applied to svn head.

Regards,
    John






> 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
>
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to