Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /sandbox/jlf/trunk/extensions/rexxutil/platform/windows/rexxutil.cpp [r7646] .. [r7647] Maximize Restore

  Switch to side-by-side view

--- 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;
 }