> 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.
