]> granicus.if.org Git - sudo/commitdiff
added a cast
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 28 Mar 1995 06:07:20 +0000 (06:07 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 28 Mar 1995 06:07:20 +0000 (06:07 +0000)
parse.c

diff --git a/parse.c b/parse.c
index 623776c88312408280bb1d922ee1e941c0577bc2..b703e33acb120fc43648dedc1179035c6339e605 100644 (file)
--- 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)