You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/mandriva/2010.2/applications/kio-sysinfo/kio-sysinfo-1.8.2-gcc4.patch

12 lines
400 B

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