diff options
Diffstat (limited to 'source3/lib/util_str.c')
-rw-r--r-- | source3/lib/util_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c index f99c2d1fb3..03e9306805 100644 --- a/source3/lib/util_str.c +++ b/source3/lib/util_str.c @@ -1334,7 +1334,7 @@ char *strstr_m(const char *src, const char *findstr) /* for correctness */ if (!findstr[0]) { - return src; + return (char*)src; } /* Samba does single character findstr calls a *lot*. */ |