Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > f1eb53fcd89139f1e11bfb5f284bf3df > files > 1

xfe-1.19.2-3mdv2010.1.src.rpm

--- src/ViewWindow.cpp.gcc	2010-05-02 03:52:19.000000000 +0200
+++ src/ViewWindow.cpp	2010-05-02 03:52:33.000000000 +0200
@@ -655,7 +655,7 @@
 {
     FXString buf=viewer->getText();
     const char* text=buf.text();
-    char *p = strstr(&text[pos],str.text());
+    const char *p = strstr(&text[pos],str.text());
     if(!p)
         return -1;
     return (p-text);