summaryrefslogtreecommitdiffstats
path: root/kioslave/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/nfs')
-rw-r--r--kioslave/nfs/kio_nfs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kioslave/nfs/kio_nfs.cpp b/kioslave/nfs/kio_nfs.cpp
index 18a7f1393..b35489c8d 100644
--- a/kioslave/nfs/kio_nfs.cpp
+++ b/kioslave/nfs/kio_nfs.cpp
@@ -89,7 +89,7 @@ int x_getdomainname(char *name, size_t len)
{
if ((hent = gethostbyname(uts.nodename)) != 0L)
{
- char *p = strchr(hent->h_name, '.');
+ char *p = (char*)strchr(hent->h_name, '.');
if (p != 0L)
{
++p;