diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pathchk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathchk.c b/src/pathchk.c index ad5daddf6..ddb44ef24 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -342,7 +342,7 @@ validate_path (char *path, int portability) if (path_max < 0) path_max = _POSIX_PATH_MAX; free (parent); - if (strlen (path) > path_max) + if (strlen (path) > (size_t) path_max) { error (0, 0, _("path `%s' has length %d; exceeds limit of %d"), path, strlen (path), path_max); |