+2008-04-04 Suman Manjunath <msuman@novell.com>
+
+ * libedataserver/e-data-server-util.c: (e_util_utf8_strstrcase),
+ (e_util_utf8_strstrcasedecomp):
+ Fixed a few compiler warnings (bug #473880)
+
2008-04-01 Matthew Barnes <mbarnes@redhat.com>
* configure.in: Version bump for 2.23.1.
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;
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]) {
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;
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 */