summaryrefslogtreecommitdiffstats
path: root/kdm/backend/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'kdm/backend/auth.c')
-rw-r--r--kdm/backend/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdm/backend/auth.c b/kdm/backend/auth.c
index fa7afac01..21b3c5d48 100644
--- a/kdm/backend/auth.c
+++ b/kdm/backend/auth.c
@@ -942,7 +942,7 @@ setAuthNumber( Xauth *auth, const char *name )
colon = strrchr( name, ':' );
if (colon) {
++colon;
- dot = strchr( colon, '.' );
+ dot = (char*)strchr( colon, '.' );
if (dot)
auth->number_length = dot - colon;
else