[Cmake-commits] [cmake-commits] david.cole committed MD5.c 1.2 1.3

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jul 8 16:18:21 EDT 2009


Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv15091

Modified Files:
	MD5.c 
Log Message:
COMP: Eliminate "conversion may change sign of result" warnings by using size_t where appropriate. (Missed one warning with last commit: add a cast to md5_word_t.)


Index: MD5.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/MD5.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** MD5.c	8 Jul 2009 20:15:21 -0000	1.2
--- MD5.c	8 Jul 2009 20:18:19 -0000	1.3
***************
*** 383,387 ****
  
      /* Update the message length. */
!     pms->count[1] += nbytes >> 29;
      pms->count[0] += nbits;
      if (pms->count[0] < nbits)
--- 383,387 ----
  
      /* Update the message length. */
!     pms->count[1] += (md5_word_t)(nbytes >> 29);
      pms->count[0] += nbits;
      if (pms->count[0] < nbits)



More information about the Cmake-commits mailing list