svn commit: samba r11631 - in branches/SAMBA_4_0/source/lib/crypto: .

tridge at samba.org tridge at samba.org
Thu Nov 10 05:24:52 GMT 2005


Author: tridge
Date: 2005-11-10 05:24:52 +0000 (Thu, 10 Nov 2005)
New Revision: 11631

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11631

Log:

fixed a signed/unsigned warning

Modified:
   branches/SAMBA_4_0/source/lib/crypto/crc32.c
   branches/SAMBA_4_0/source/lib/crypto/crc32.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/crypto/crc32.c
===================================================================
--- branches/SAMBA_4_0/source/lib/crypto/crc32.c	2005-11-10 05:12:28 UTC (rev 11630)
+++ branches/SAMBA_4_0/source/lib/crypto/crc32.c	2005-11-10 05:24:52 UTC (rev 11631)
@@ -88,7 +88,7 @@
 	0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d
 };
 
-uint32_t crc32_calc_buffer(const char *buf, size_t size)
+uint32_t crc32_calc_buffer(const uint8_t *buf, size_t size)
 {
 	const unsigned char *p;
 	uint32_t crc;

Modified: branches/SAMBA_4_0/source/lib/crypto/crc32.h
===================================================================
--- branches/SAMBA_4_0/source/lib/crypto/crc32.h	2005-11-10 05:12:28 UTC (rev 11630)
+++ branches/SAMBA_4_0/source/lib/crypto/crc32.h	2005-11-10 05:24:52 UTC (rev 11631)
@@ -1 +1 @@
-uint32_t crc32_calc_buffer(const uint8_t *buffer, uint32_t count);
+uint32_t crc32_calc_buffer(const uint8_t *buffer, uint32_t size);



More information about the samba-cvs mailing list