]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Merge pull request #2781 from AZero13/ints
authorMartin Matuška <martin@matuska.de>
Mon, 5 Jan 2026 09:35:59 +0000 (10:35 +0100)
committerMartin Matuska <martin@matuska.de>
Mon, 5 Jan 2026 09:44:15 +0000 (10:44 +0100)
Remove unneeded int cast

(cherry picked from commit 3cd503b75ae1a9894156771d9e3116e0c7b090f6)

libarchive/archive_read_disk_windows.c

index 17557a89103920283d9d8053ddd3a8e7f4bd6bcb..117ca505fadd04922fa141eb28cb6018af4d8693 100644 (file)
@@ -1468,7 +1468,7 @@ update_current_filesystem(struct archive_read_disk *a, int64_t dev)
                        return (ARCHIVE_FATAL);
                }
                t->filesystem_table = (struct filesystem *)p;
-               t->allocated_filesystem = (int)s;
+               t->allocated_filesystem = s;
        }
        t->current_filesystem_id = fid;
        t->current_filesystem = &(t->filesystem_table[fid]);