summaryrefslogtreecommitdiffstats
path: root/ksysguard/ksysguardd/Linux/cpuinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'ksysguard/ksysguardd/Linux/cpuinfo.c')
-rw-r--r--ksysguard/ksysguardd/Linux/cpuinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksysguard/ksysguardd/Linux/cpuinfo.c b/ksysguard/ksysguardd/Linux/cpuinfo.c
index fa55aabd9..de5deb80f 100644
--- a/ksysguard/ksysguardd/Linux/cpuinfo.c
+++ b/ksysguard/ksysguardd/Linux/cpuinfo.c
@@ -83,7 +83,7 @@ static void processCpuInfo( void )
sscanf( value, "%f", &Clocks[ cpuId ] );
/* Move cibp to begining of next line, if there is one. */
- cibp = (char*)strchr( cibp, '\n' );
+ cibp = strchr( cibp, '\n' );
if ( cibp )
cibp++;
else