I'm having a problem with CW displaying UInt64s as negative numbers in
the debugger. The problem appears to be somewhat random. For example,
last night I did some testing with the following:
UInt64 test = 0x5FFFFFFFFFFFFFFF;
What I saw was that the debugger displayed positive values when the
first digit was 4 or lower, and negative when it was 5 or higher.
Running the same test today, I see positive values when the first
digit is 7 or lower, and negative when it is 8 or higher Any ideas?
Thanks,
Larry
Frederick Cheung - 27 Feb 2004 18:54 GMT
> I'm having a problem with CW displaying UInt64s as negative numbers in
> the debugger. The problem appears to be somewhat random. For example,
> last night I did some testing with the following:
>
> UInt64 test = 0x5FFFFFFFFFFFFFFF;
I see the same thing, but if I ask to view the value as an unsigned
integer it displays ok. For some reason by default it is viewed as signed.
Fred
> What I saw was that the debugger displayed positive values when the
> first digit was 4 or lower, and negative when it was 5 or higher.
[quoted text clipped - 3 lines]
>
> Larry