aboutsummaryrefslogtreecommitdiffstats
path: root/camel/string-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/string-utils.c')
-rw-r--r--camel/string-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/string-utils.c b/camel/string-utils.c
index 28a4a81a0e..8c46df7a60 100644
--- a/camel/string-utils.c
+++ b/camel/string-utils.c
@@ -189,7 +189,7 @@ strstrcase (const gchar *haystack, const gchar *needle)
if (len > strlen(haystack))
return NULL;
- for (ptr = haystack; *(ptr + len - 1) != '\0'; ptr++)
+ for (ptr = (char *)haystack; *(ptr + len - 1) != '\0'; ptr++)
if (!g_strncasecmp(ptr, needle, len))
return ptr;