]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
s is a signed int, so make it signed int
authorRose <gfunni234@gmail.com>
Sun, 1 Jun 2025 02:33:36 +0000 (22:33 -0400)
committerAZero13 <gfunni234@gmail.com>
Thu, 6 Nov 2025 15:44:16 +0000 (10:44 -0500)
libarchive/archive_read_disk_posix.c

index e7f9132c532ecf671c4f0681aefd3a21dbf274fe..72dde0730bf3c1107b36843327dfe967e701ced2 100644 (file)
@@ -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;