summaryrefslogtreecommitdiffstats
path: root/kdm/backend/dm.c
diff options
context:
space:
mode:
Diffstat (limited to 'kdm/backend/dm.c')
-rw-r--r--kdm/backend/dm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdm/backend/dm.c b/kdm/backend/dm.c
index a372686df..d372dd472 100644
--- a/kdm/backend/dm.c
+++ b/kdm/backend/dm.c
@@ -133,7 +133,7 @@ main( int argc, char **argv )
memcpy( name, argv[0], len + 1 );
*--name = '/';
do {
- if (!(pathe = (char*)strchr( path, ':' )))
+ if (!(pathe = strchr( path, ':' )))
pathe = path + strlen( path );
len = pathe - path;
if (!len || (len == 1 && *path == '.')) {