From: Rose Date: Sun, 1 Jun 2025 02:33:36 +0000 (-0400) Subject: s is a signed int, so make it signed int X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f18a754d02290a5fde0b21adbacd45d27f720ffe;p=thirdparty%2Flibarchive.git s is a signed int, so make it signed int --- diff --git a/libarchive/archive_read_disk_posix.c b/libarchive/archive_read_disk_posix.c index e7f9132c5..72dde0730 100644 --- a/libarchive/archive_read_disk_posix.c +++ b/libarchive/archive_read_disk_posix.c @@ -1413,7 +1413,7 @@ update_current_filesystem(struct archive_read_disk *a, int64_t dev) */ fid = t->max_filesystem_id++; if (t->max_filesystem_id > t->allocated_filesystem) { - size_t s; + int s; void *p; s = t->max_filesystem_id * 2;