summaryrefslogtreecommitdiff
path: root/lib/dirname.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-11-30 09:35:52 +0000
committerJim Meyering <jim@meyering.net>2000-11-30 09:35:52 +0000
commit7303ca25dbbcf62d4f5eff34aea1867e14e51a19 (patch)
treedb2c24ae3c189b3021542338285515f14ff7ad55 /lib/dirname.c
parent060fb58f8664e390d3ba637b8fcd71da9bf561f9 (diff)
downloadcoreutils-7303ca25dbbcf62d4f5eff34aea1867e14e51a19.tar.xz
(dir_name_r): Fix typo: int -> size_t.
Diffstat (limited to 'lib/dirname.c')
-rw-r--r--lib/dirname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dirname.c b/lib/dirname.c
index 8651174ca..348701534 100644
--- a/lib/dirname.c
+++ b/lib/dirname.c
@@ -57,7 +57,7 @@ size_t
dir_name_r (const char *path, const char **result)
{
char *slash;
- int length; /* Length of result, not including NUL. */
+ size_t length; /* Length of result, not including NUL. */
slash = strrchr (path, '/');
if (BACKSLASH_IS_PATH_SEPARATOR)