From bbbfa79c3f7327e1359af33e833c9d078ba52ff1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 30 Nov 2000 09:35:52 +0000 Subject: [PATCH] (dir_name_r): Fix typo: int -> size_t. --- lib/dirname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.11.0