Re: [PATCH] fixes compilers warnings
"Nikos Balkanas" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <000e01c9bed4$df5d7d00$02b2a8c0@tardis> |
(1) OK (2) Don't get these warnings in Solaris. But patch doesn't hurt, either. +1, Nikos ----- Original Message ----- From: "Vincent CHAVANIS" <[email protected]> To: <[email protected]> Sent: Thursday, April 16, 2009 3:52 PM Subject: [PATCH] fixes compilers warnings > > This fixes: > > 1/ > gwlib/charset.c: In function 'charset_convert': > gwlib/charset.c:635: attention : format '%d' expects type 'int', but > argument 3 has type 'long int' > gwlib/charset.c:669: attention : format '%d' expects type 'int', but > argument 4 has type 'long int' > > 2/ > /* now make it const - This should not be modifiable */ > gwlib/date.c:69: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:69: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:69: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:69: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:69: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:69: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:70: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:73: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:73: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:73: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:73: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:73: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:73: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:74: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:74: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:74: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:74: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:74: attention : pointer targets in initialization differ in > signedness > gwlib/date.c:75: attention : pointer targets in initialization differ in > signedness > > > > > -- > Telemaque - 06560 SOPHIA-ANTIPOLIS - (FR) > Service Technique/Reseau - NOC > Direction du Developpement xMS+ > http://www.telemaque.fr/ > [email protected] > Tel : +33 4 92 90 99 84 (fax 9142) >