--- a/sandbox/jlf/trunk/extensions/rexxutil/platform/windows/rexxutil.cpp
+++ b/sandbox/jlf/trunk/extensions/rexxutil/platform/windows/rexxutil.cpp
@@ -857,7 +857,7 @@
         haystackCopy[i] = toupper(haystackCopy[i]);
     }
 
-    const char *result = (haystackCopy, needle);
+    const char *result = strstr(haystackCopy, needle);
     free(haystackCopy);
     return result;
 }