# HG changeset patch # User Jim Meyering # Date 975576952 0 # Node ID 877ad9371407ed426c4838b91aa5a7fa0c2e38ac # Parent a13874f8882713f927d5a25606de71b9c3582d62 (dir_name_r): Fix typo: int -> size_t. diff --git a/lib/dirname.c b/lib/dirname.c --- a/lib/dirname.c +++ b/lib/dirname.c @@ -57,7 +57,7 @@ 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)