TGNumberEntryField kNESHex does not go beyond 0x8000 0000

I need an 8 bytes long hexadecimal integer and the format - unsigned long just about
fits the answer to my needs.
I am creating a TGNumberEntryField in my code as follows :
pointer1 = new TGNumberEntryField (Column[i], i,(ULong_t) 0x0U,
TGNumberFormat::kNESHex, TGNumberFormat::kNEANonNegative,
TGNumberFormat::kNELLimitMinMax ,0, 4294967295);

The number entry field is created but the values do not go beyond : 80000000
and I need it to go upto : FFFFFFFF .
I CANNOT FIGURE OUT IF IT IS A BUG OR A LIMITATION OF THE ROOT WIDGET.
KINDLY HELP. THANKS.

My machine configuration is as follows:

[admin@localhost ~]$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel® Core™2 Quad CPU Q6600 @ 2.40GHz
stepping : 11
cpu MHz : 1596.000
cache size : 4096 KB

[admin@localhost ~]$ cat /proc/meminfo
MemTotal: 1939920 kB
MemFree: 933880 kB
Buffers: 100600 kB
Cached: 502588 kB
SwapCached: 0 kB
Active: 528996 kB
Inactive: 349448 kB
Active(anon): 275428 kB
Inactive(anon): 4660 kB
Active(file): 253568 kB
Inactive(file): 344788 kB
Unevictable: 0 kB
Mlocked: 0 kB
HighTotal: 1189896 kB
HighFree: 396180 kB
LowTotal: 750024 kB
LowFree: 537700 kB
SwapTotal: 4145144 kB
SwapFree: 4145144 kB
Dirty: 132 kB

[admin@localhost ~]$ cat /etc/issue
CentOS release 6.4 (Final)
Kernel \r on an \m

[admin@localhost ~]$ arch
i686
[admin@localhost ~]$ uname -r -v -p
2.6.32-358.23.2.el6.i686 #1 SMP Wed Oct 16 17:21:31 UTC 2013 i686

Root version
ver 5.34/10 29 August 2013

Hi,

It works on 64bit machines. On 32 bit ones, you can simply use:

Cheers, Bertrand.

Hi Bertrand,
I tried as per your answer , but it still did not work, which made me inspect my code more thoroughly and I found that the variable handling the number is defined as long , I immediately changed it to ULong_t
and now the code works… yes it works with my original code also.
So stupid of me to overlook this error.
Thank you Bertrand, you made me find the bug.
Cheers, Abraham