[Cmake-commits] [cmake-commits] hoffman committed archive_entry_link_resolver.c 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Nov 12 07:42:28 EST 2009


Update of /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive
In directory public:/mounts/ram/cvs-serv20806/libarchive

Modified Files:
	archive_entry_link_resolver.c 
Log Message:
Remove a few more warnings


Index: archive_entry_link_resolver.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive/archive_entry_link_resolver.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** archive_entry_link_resolver.c	30 Oct 2009 17:09:56 -0000	1.1
--- archive_entry_link_resolver.c	12 Nov 2009 12:42:21 -0000	1.2
***************
*** 269,273 ****
  
      /* Try to locate this entry in the links cache. */
!     bucket = hash % res->number_buckets;
      for (le = res->buckets[bucket]; le != NULL; le = le->next) {
          if (le->hash == hash
--- 269,273 ----
  
      /* Try to locate this entry in the links cache. */
!     bucket = hash % (int)res->number_buckets;
      for (le = res->buckets[bucket]; le != NULL; le = le->next) {
          if (le->hash == hash
***************
*** 352,356 ****
  
      hash = archive_entry_dev(entry) ^ archive_entry_ino64(entry);
!     bucket = hash % res->number_buckets;
  
      /* If we could allocate the entry, record it. */
--- 352,356 ----
  
      hash = archive_entry_dev(entry) ^ archive_entry_ino64(entry);
!     bucket = hash % (int)res->number_buckets;
  
      /* If we could allocate the entry, record it. */



More information about the Cmake-commits mailing list