diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-12 12:42:21 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-12 12:42:21 (GMT) |
commit | d91d04a47abeb952a5d399e1152708048380987e (patch) | |
tree | 7a13434dd6adc4a626bc01781082b8ff40cb325f /Utilities/cmlibarchive | |
parent | 0a5b24776195f61d2e28463c418c4f399a1a9dd4 (diff) | |
download | CMake-d91d04a47abeb952a5d399e1152708048380987e.zip CMake-d91d04a47abeb952a5d399e1152708048380987e.tar.gz CMake-d91d04a47abeb952a5d399e1152708048380987e.tar.bz2 |
Remove a few more warnings
Diffstat (limited to 'Utilities/cmlibarchive')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_entry_link_resolver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_entry_link_resolver.c b/Utilities/cmlibarchive/libarchive/archive_entry_link_resolver.c index 41cf648..0835fb0 100644 --- a/Utilities/cmlibarchive/libarchive/archive_entry_link_resolver.c +++ b/Utilities/cmlibarchive/libarchive/archive_entry_link_resolver.c @@ -268,7 +268,7 @@ find_entry(struct archive_entry_linkresolver *res, hash = (int)(dev ^ ino); /* Try to locate this entry in the links cache. */ - bucket = hash % res->number_buckets; + bucket = hash % (int)res->number_buckets; for (le = res->buckets[bucket]; le != NULL; le = le->next) { if (le->hash == hash && dev == archive_entry_dev(le->canonical) @@ -351,7 +351,7 @@ insert_entry(struct archive_entry_linkresolver *res, grow_hash(res); hash = archive_entry_dev(entry) ^ archive_entry_ino64(entry); - bucket = hash % res->number_buckets; + bucket = hash % (int)res->number_buckets; /* If we could allocate the entry, record it. */ if (res->buckets[bucket] != NULL) |