summaryrefslogtreecommitdiffstats
path: root/kcontrol/samba/ksmbstatus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/samba/ksmbstatus.cpp')
-rw-r--r--kcontrol/samba/ksmbstatus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kcontrol/samba/ksmbstatus.cpp b/kcontrol/samba/ksmbstatus.cpp
index c94bc5129..bf775deab 100644
--- a/kcontrol/samba/ksmbstatus.cpp
+++ b/kcontrol/samba/ksmbstatus.cpp
@@ -136,7 +136,7 @@ void NetMon::slotReceivedData(KProcess *, char *buffer, int )
char s[250],*start,*end;
size_t len;
start = buffer;
- while ((end = (char*)strchr(start,'\n'))) // look for '\n'
+ while ((end = strchr(start,'\n'))) // look for '\n'
{
len = end-start;
if (len>=sizeof(s))