>  > After applying your patch I am getting lots of compilation warnings
>  > like:
>  > 
>  > 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
>  > 
> 
> Hi jemarch, I have a similar list of warnings that I have been getting in the
> last 2 months or so, I reported it and IIRC no one replied :-/.
> I guess the patch you mention is not the problem really, it's to be something
> else.
> Warnings :
> ##
> 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.


Reply via email to