aboutsummaryrefslogtreecommitdiffstats
path: root/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils.c')
-rwxr-xr-xutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index ee6074348..e2ce549eb 100755
--- a/utils.c
+++ b/utils.c
@@ -503,7 +503,7 @@ char *ast_strcasestr(const char *haystack, const char *needle)
offset = strstr(upper(haystack, u1, u1len), upper(needle, u2, u2len));
if (offset) {
/* Return the offset into the original string */
- return ((char *)((unsigned int)haystack + (unsigned int)(offset - u1)));
+ return ((char *)((unsigned long)haystack + (unsigned long)(offset - u1)));
} else {
return NULL;
}