diff --git a/parse.c b/parse.c index 623776c88..b703e33ac 100644 --- a/parse.c +++ b/parse.c @@ -178,7 +178,7 @@ char *cmnd, *path; while ((dent = readdir(dirp)) != NULL) { strcpy(buf, path); - strcat(buf, NAMLEN(dent)); + strcat(buf, (char *) NAMLEN(dent)); if (stat(buf, &pst) < 0) continue; if (cst.st_dev == pst.st_dev && cst.st_ino == pst.st_ino)