]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Remove unneeded int cast 2781/head
authorAZero13 <gfunni234@gmail.com>
Tue, 11 Nov 2025 16:47:26 +0000 (11:47 -0500)
committerAZero13 <gfunni234@gmail.com>
Tue, 11 Nov 2025 16:47:26 +0000 (11:47 -0500)
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]);