summaryrefslogtreecommitdiffstats
path: root/kdm/backend/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'kdm/backend/process.c')
-rw-r--r--kdm/backend/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdm/backend/process.c b/kdm/backend/process.c
index 8e21d789b..f9d34fe7f 100644
--- a/kdm/backend/process.c
+++ b/kdm/backend/process.c
@@ -276,7 +276,7 @@ locate( const char *exe )
memcpy( name, exe, 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 == '.')) {