diff options
Diffstat (limited to 'kwin/utils.cpp')
-rw-r--r-- | kwin/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kwin/utils.cpp b/kwin/utils.cpp index 8e43901f3..de422f40e 100644 --- a/kwin/utils.cpp +++ b/kwin/utils.cpp @@ -317,7 +317,7 @@ bool isLocalMachine( const TQCString& host ) hostnamebuf[sizeof(hostnamebuf)-1] = 0; if (host == hostnamebuf) return true; - if( char *dot = (char*)strchr(hostnamebuf, '.')) + if( char *dot = strchr(hostnamebuf, '.')) { *dot = '\0'; if( host == hostnamebuf ) |