evolution-data-server r8692 - in branches/gnome-2-22: . libedataserver



Author: abharath
Date: Tue Apr 29 04:53:11 2008
New Revision: 8692
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8692&view=rev

Log:
Patch from Suman Manjunath  <msuman novell com> **Fixed a few compiler warnings (bug #473880)

Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/libedataserver/e-data-server-util.c

Modified: branches/gnome-2-22/libedataserver/e-data-server-util.c
==============================================================================
--- branches/gnome-2-22/libedataserver/e-data-server-util.c	(original)
+++ branches/gnome-2-22/libedataserver/e-data-server-util.c	Tue Apr 29 04:53:11 2008
@@ -115,8 +115,7 @@
 const gchar *
 e_util_utf8_strstrcase (const gchar *haystack, const gchar *needle)
 {
-        gunichar *nuni;
-        gunichar unival;
+        gunichar *nuni, unival;
         gint nlen;
         const gchar *o, *p;
 
@@ -136,7 +135,7 @@
 
 	o = haystack;
         for (p = e_util_unicode_get_utf8 (o, &unival); p && unival; p = e_util_unicode_get_utf8 (p, &unival)) {
-                gint sc;
+                gunichar sc;
                 sc = g_unichar_tolower (unival);
                 /* We have valid stripped char */
                 if (sc == nuni[0]) {
@@ -221,7 +220,7 @@
 
         nlen = 0;
         for (p = e_util_unicode_get_utf8 (needle, &unival); p && unival; p = e_util_unicode_get_utf8 (p, &unival)) {
-                gint sc;
+                gunichar sc;
                 sc = stripped_char (unival);
                 if (sc) {
                        nuni[nlen++] = sc;
@@ -234,7 +233,7 @@
 
         o = haystack;
         for (p = e_util_unicode_get_utf8 (o, &unival); p && unival; p = e_util_unicode_get_utf8 (p, &unival)) {
-                gint sc;
+                gunichar sc;
                 sc = stripped_char (unival);
                 if (sc) {
                         /* We have valid stripped char */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]