> Hi,
>
> I cannot offset to a large number in Hexadecimal input.
> It seems to work fine with decimal offset.
>
> For example, trying to offset to
> 100000000H, it goes to:
> 010000000H
>
> Using decimal input, going to
> 4294967296, correctly offsets to:
> 100000000H
>
> There is some kind of 8byte truncation on hex input, max value seems to
> be FFFFFFFFH.
>
>
> Tested with ZTreeW64 v2.4.199
>
> Thanks
> Nuno
Going by your description, my first thought was it's a 32bit interget overflow issue, but investigating it's not as simple as that.
2^28=010000000H works
2^31=080000000H works
7FFFFFFFH goes to 07FFFFFC0H, expected
FFFFFFFFH goes to 0FFFFFFC0H, expected
2^32=100000000H goes to 010000000H, incorrectly
At the start of a file Offset 100000000H incorrectly goes to 010000000H as you report.
But also there seems to be some relative position behaviour, I viewed a 19GB file, End, Offset 100000000H, took me to 410000000H. Also at the end of that file the last line has position 4B2D143EA, going to offset 4B2D143EAH took me to 44B2D1400H.
Ben