summaryrefslogtreecommitdiffstats
path: root/src/H5system.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5system.c')
-rw-r--r--src/H5system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5system.c b/src/H5system.c
index ecaa0f6..a13a5e8 100644
--- a/src/H5system.c
+++ b/src/H5system.c
@@ -979,7 +979,7 @@ char *
Wstrcasestr_wrap(const char *haystack, const char *needle)
{
if (needle && !*needle)
- return haystack;
+ return (char *)haystack;
else
return StrStrIA(haystack, needle);
}