summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/applications/kio-sysinfo/kio-sysinfo-1.8.2-gcc4.patch
blob: 7854d751bf570765b0846251bd9e516f5682d85c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- kio-sysinfo-1.8.2/src/sysinfo.cpp.orig      2009-11-13 15:20:27.000000000 +0000
+++ kio-sysinfo-1.8.2/src/sysinfo.cpp   2009-11-13 15:24:53.000000000 +0000
@@ -245,7 +245,7 @@

 static unsigned long int scan_one( const char* buff, const char *key )
 {
-    char *b = strstr( buff, key );
+    const char *b = strstr( buff, key );
     if ( !b )
         return 0;
     unsigned long int val = 0;