summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/archive_check_magic.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libarchive/archive_check_magic.c')
-rw-r--r--lib/libarchive/archive_check_magic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libarchive/archive_check_magic.c b/lib/libarchive/archive_check_magic.c
index 7225da3..d9cfbc6 100644
--- a/lib/libarchive/archive_check_magic.c
+++ b/lib/libarchive/archive_check_magic.c
@@ -72,9 +72,9 @@ state_name(unsigned s)
static void
-write_all_states(int states)
+write_all_states(unsigned int states)
{
- unsigned lowbit;
+ unsigned int lowbit;
/* A trick for computing the lowest set bit. */
while ((lowbit = states & (-states)) != 0) {
@@ -92,8 +92,8 @@ write_all_states(int states)
* the libarchive API.
*/
void
-__archive_check_magic(struct archive *a, unsigned magic, unsigned state,
- const char *function)
+__archive_check_magic(struct archive *a, unsigned int magic,
+ unsigned int state, const char *function)
{
if (a->magic != magic) {
errmsg("INTERNAL ERROR: Function ");
OpenPOWER on IntegriCloud