util.c: In function ‘objid_init’:
util.c:331: warning: integer constant is too large for ‘long’ type
with
[cmcc...@stargazer tabled]$ gcc --version
gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2)
Now that I wrote a little test program, I can see that gcc handles the
constant correctly. It still
On 01/12/2010 01:25 PM, Colin McCabe wrote:
util.c: In function ‘objid_init’:
util.c:331: warning: integer constant is too large for ‘long’ type
with
[cmcc...@stargazer tabled]$ gcc --version
gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2)
Now that I wrote a little test program, I can see that gcc
All integer constants are squashed into ints (i.e. 32-bit) unless you specify
otherwise.
Signed-off-by: Colin McCabe cmcc...@alumni.cmu.edu
---
server/util.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/util.c b/server/util.c
index 3c15123..63a3acb 100644
---