[Top][All Lists]
[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: |
Aleksander Morgado |
Subject: |
Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t |
Date: |
Tue, 25 Nov 2008 10:45:32 +0100 |
User-agent: |
Thunderbird 2.0.0.17 (X11/20080925) |
> > 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.
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, (continued)
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, Aleksander Morgado, 2008/11/16
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, jemarch, 2008/11/16
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, Aleksander Morgado, 2008/11/17
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, jemarch, 2008/11/17
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, Aleksander Morgado, 2008/11/22
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, jemarch, 2008/11/22
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, Aleksander Morgado, 2008/11/22
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, Aleksander Morgado, 2008/11/22
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, jemarch, 2008/11/24
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, gerel, 2008/11/24
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t,
Aleksander Morgado <=
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, gerel, 2008/11/25
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, jemarch, 2008/11/25
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, jemarch, 2008/11/25
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, gerel, 2008/11/25
- Re: [pdf-devel] Assigning a 64-bit value to pdf_i64_t, jemarch, 2008/11/26