Re: [Vala] Strange behavior with hex literals being misinterpreted as int64



On 10/11/2013 05:07 PM, Thomas Olson wrote:
Hello,

I've encountered this several times where the Vala compiler will misinterpret a four byte hex literal as a long or int64. For example 0xFFFFFFFF requires a cast in order to be assigned to a uint32. Is this a known bug?

Thanks,

Tom


_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list


Please escuse my previous post. Too many hours at the keyboard. I forgot the 'u' suffix. Must sleep...

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]