|
From: Andre A. <ar...@ki...> - 2014-01-05 15:21:09
|
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
|