[maemo-commits] [maemo-commits] r10255 - projects/connectivity/osso-obexsrv/trunk/src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Feb 28 15:01:29 EET 2007
Author: jh
Date: 2007-02-28 15:01:27 +0200 (Wed, 28 Feb 2007)
New Revision: 10255

Modified:
   projects/connectivity/osso-obexsrv/trunk/src/obex.c
Log:
Fix signedness error on calling g_utf8_validate

Modified: projects/connectivity/osso-obexsrv/trunk/src/obex.c
===================================================================
--- projects/connectivity/osso-obexsrv/trunk/src/obex.c	2007-02-28 12:47:27 UTC (rev 10254)
+++ projects/connectivity/osso-obexsrv/trunk/src/obex.c	2007-02-28 13:01:27 UTC (rev 10255)
@@ -290,7 +290,7 @@
                 if (hv.bs[hlen - 1] != '\0')
                     break;
 
-                if (!g_utf8_validate(hv.bs, -1, NULL)) {
+                if (!g_utf8_validate((const char *) hv.bs, -1, NULL)) {
                     debug("Invalid type header: %s", hv.bs);
                     break;
                 }


More information about the maemo-commits mailing list