Fix compiler warning
Ignat Vassilev <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Ignat Vassilev wrote: > > > Stipe Tolj wrote: > >> ups, ok, I missed to add 'field-boxc-id' to the 'dlr-db' group in >> gwlib/cfg.def. Fixing this right now in cvs. Please update your tree >> and try again, should work now without the panic. >> >> Stipe >> >> [email protected] >> ------------------------------------------------------------------- >> Wapme Systems AG >> >> Vogelsanger Weg 80 >> 40470 Düsseldorf >> >> Tel: +49-211-74845-0 >> Fax: +49-211-74845-299 >> >> E-Mail: [email protected] >> Internet: http://www.wapme-systems.de >> ------------------------------------------------------------------- >> wapme.net - wherever you are >> >> >> >> > Thanks Stipe > Here you are > * gwlib/character.c fixed compiler warning > > > --- gwlib/charset.c 2002-11-18 11:15:29.000000000 +1100 > +++ gwlib/charset.c 2002-11-18 11:16:11.000000000 +1100 > @@ -341,11 +341,11 @@ > c = octstr_get_char(ostr, pos); > switch (c) { > /* GSM value; NRC value */ > - /* case 0x5b: new = 0x5b; break; /* à */ > - /* case 0x5c: new = 0x5c; break; /* à */ > + case 0x5b: new = 0x5b; break; /* à */ > + case 0x5c: new = 0x5c; break; /* à */ > case 0x5e: new = 0x5d; break; /* à */ > - /* case 0x7b: new = 0x7b; break; /* ä */ > - /* case 0x7c: new = 0x7c; break; /* ö */ > + case 0x7b: new = 0x7b; break; /* ä */ > + case 0x7c: new = 0x7c; break; /* ö */ > case 0x7e: new = 0x7d; break; /* ü */ > case 0x1e: new = 0x7e; break; /* à */ > case 0x5f: new = 0x5e; break; /* § */ > @@ -367,11 +367,11 @@ > c = octstr_get_char(ostr, pos); > switch (c) { > /* NRC value; GSM value */ > - /* case 0x5b: new = 0x5b; break; /* à */ > - /* case 0x5c: new = 0x5c; break; /* à */ > + case 0x5b: new = 0x5b; break; /* à */ > + case 0x5c: new = 0x5c; break; /* à */ > case 0x5d: new = 0x5e; break; /* à */ > - /* case 0x7b: new = 0x7b; break; /* ä */ > - /* case 0x7c: new = 0x7c; break; /* ö */ > + case 0x7b: new = 0x7b; break; /* ä */ > + case 0x7c: new = 0x7c; break; /* ö */ > case 0x7d: new = 0x7e; break; /* ü */ > case 0x7e: new = 0x1e; break; /* à */ > case 0x5e: new = 0x5f; break; /* § */ > >------------------------------------------------------------------------ > > > > Hi Stipe Couple days ago I sent a some compile warning fix but may be yo didn't see the mail. Her you are... I think they are more but I have to compile again to find this which i missed Ignat
warning.diff
(text/plain, 1.6 KB)
--- gwlib/charset.c 2002-11-18 11:15:29.000000000 +1100
+++ gwlib/charset.c 2002-11-18 11:16:11.000000000 +1100
@@ -341,11 +341,11 @@
c = octstr_get_char(ostr, pos);
switch (c) {
/* GSM value; NRC value */
- /* case 0x5b: new = 0x5b; break; /* Ä */
- /* case 0x5c: new = 0x5c; break; /* Ö */
+ case 0x5b: new = 0x5b; break; /* Ä */
+ case 0x5c: new = 0x5c; break; /* Ö */
case 0x5e: new = 0x5d; break; /* Ü */
- /* case 0x7b: new = 0x7b; break; /* ä */
- /* case 0x7c: new = 0x7c; break; /* ö */
+ case 0x7b: new = 0x7b; break; /* ä */
+ case 0x7c: new = 0x7c; break; /* ö */
case 0x7e: new = 0x7d; break; /* ü */
case 0x1e: new = 0x7e; break; /* ß */
case 0x5f: new = 0x5e; break; /* § */
@@ -367,11 +367,11 @@
c = octstr_get_char(ostr, pos);
switch (c) {
/* NRC value; GSM value */
- /* case 0x5b: new = 0x5b; break; /* Ä */
- /* case 0x5c: new = 0x5c; break; /* Ö */
+ case 0x5b: new = 0x5b; break; /* Ä */
+ case 0x5c: new = 0x5c; break; /* Ö */
case 0x5d: new = 0x5e; break; /* Ü */
- /* case 0x7b: new = 0x7b; break; /* ä */
- /* case 0x7c: new = 0x7c; break; /* ö */
+ case 0x7b: new = 0x7b; break; /* ä */
+ case 0x7c: new = 0x7c; break; /* ö */
case 0x7d: new = 0x7e; break; /* ü */
case 0x7e: new = 0x1e; break; /* ß */
case 0x5e: new = 0x5f; break; /* § */