Re: 64 Bits in an 'unsigned long long'

From: George Greer (greerga@circlemud.org)
Date: 05/08/99


On Sat, 8 May 1999, Tony Robbins wrote:

>Recently, I put these to the test, and surprisingly, GCC spit out some
>warnings when going beyond the first 32.
>
>warning: left shift count >= width of type.

Try changing everything to (1ULL << xx).

--
George Greer
greerga@circlemud.org


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST