Re: [PATCH] fixes compilers warnings
Alejandro Guerrieri <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Oh, yes, you do get a lot of them in OSX at least :) +1 -- Alejandro Guerrieri [email protected] On 16/04/2009, at 22:49, Nikos Balkanas wrote: > (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) > >