diff options
Diffstat (limited to 'kdm/backend/auth.c')
-rw-r--r-- | kdm/backend/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kdm/backend/auth.c b/kdm/backend/auth.c index 3fb18ac4c..bd183142c 100644 --- a/kdm/backend/auth.c +++ b/kdm/backend/auth.c @@ -944,7 +944,7 @@ setAuthNumber( Xauth *auth, const char *name ) colon = strrchr( name, ':' ); if (colon) { ++colon; - dot = (char*)strchr( colon, '.' ); + dot = strchr( colon, '.' ); if (dot) auth->number_length = dot - colon; else |