From 31f5c73d04b13e2450e16b7bab461dc27408c579 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 28 Mar 1995 06:07:20 +0000 Subject: [PATCH] added a cast --- parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.40.0