pdf-devel
[Top][All Lists]
Advanced

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

Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t


From: jemarch
Subject: Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t
Date: Tue, 25 Nov 2008 20:29:45 +0100
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

   > base/types/pdf-i64-new.c: In function 'pdf_i64_new_001':
   > base/types/pdf-i64-new.c:53: warning: integer constant is too large for 
'long' type
   > base/types/pdf-i64-assign.c: In function 'pdf_i64_assign_001':
   > base/types/pdf-i64-assign.c:57: warning: integer constant is too large for 
'long' type
   > base/types/pdf-i64-copy.c: In function 'pdf_i64_copy_001':
   > base/types/pdf-i64-copy.c:60: warning: integer constant is too large for 
'long' type
   > base/types/pdf-i64-add.c: In function 'pdf_i64_add_001':
   > base/types/pdf-i64-add.c:62: warning: integer constant is too large for 
'long' type

   I do not have such warnings in my compilation, with gcc 4.3.2. Which is
   your version of gcc? It seems that a proper cast to int from long can be
   the solution.

The problem is that we are getting a 32bits long type as pdf_i64_t. It
is obviously wrong.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]