Re: Problem with 32 bit ints

From: George (greerga@CIRCLEMUD.ORG)
Date: 05/30/98

On Sun, 31 May 1998, Chuck Carson wrote:

>As far as the code code, the value is correctly represented. Only the
>printf functions converts it, right? I just need the value to be accurate
>in memory.

Yup, although:

x.c:1: warning: decimal constant is so large that it is unsigned

You might want 2147999999UL.    (explicitly unsigned long constant)

George Greer, | Genius may have its limitations, but          | stupidity is not thus handicapped.    |                  -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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