2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +00:00

added a cast

This commit is contained in:
Todd C. Miller
1995-03-28 06:07:20 +00:00
parent 485c9e6edc
commit 31f5c73d04

View File

@@ -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)