Le 17/08/2012 19:53, Dave nous fit lire :
>
> shape/poly.cpp:188:3: warning: this decimal constant is unsigned only
> in ISO C90 [enabled by default]
> shape/poly.cpp:188:3: warning: this decimal constant is unsigned only
> in ISO C90 [enabled by default]
> shape/poly.cpp:188:3: warning: this decimal constant is unsigned only
> in ISO C90 [enabled by default]
>
>
The array is declared unsigned int, prefilled with numbers up to
0x8B18014C ( 2 333 606 220 ), with two neighbours at 2 203 961 430
(0x835DC856).
Are your int 64 bits ? Because I fail to see the issue on a classical 32
bits.
Should the literal be extended with a "u" to make it happy ?
(only the 3 big ones)
Post a reply to this message
|