svn commit: samba r2232 - in trunk/source/lib: .

paulg at samba.org paulg at samba.org
Mon Sep 6 00:37:59 GMT 2004


Author: paulg
Date: 2004-09-06 00:37:58 +0000 (Mon, 06 Sep 2004)
New Revision: 2232

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/lib&rev=2232&nolog=1

Log:
Fix iconv.c to use the Samba-supplied uint8 type not the uint8_t type, which does not exist on all platforms.
Modified:
   trunk/source/lib/iconv.c


Changeset:
Modified: trunk/source/lib/iconv.c
===================================================================
--- trunk/source/lib/iconv.c	2004-09-06 00:24:28 UTC (rev 2231)
+++ trunk/source/lib/iconv.c	2004-09-06 00:37:58 UTC (rev 2232)
@@ -530,8 +530,8 @@
 			 char **outbuf, size_t *outbytesleft)
 {
 	size_t in_left=*inbytesleft, out_left=*outbytesleft;
-	const uint8_t *c = (const uint8_t *)*inbuf;
-	uint8_t *uc = (uint8_t *)*outbuf;
+	const uint8 *c = (const uint8 *)*inbuf;
+	uint8 *uc = (uint8 *)*outbuf;
 
 	while (in_left >= 1 && out_left >= 2) {
 		if ((c[0] & 0x80) == 0) {
@@ -647,8 +647,8 @@
 			char **outbuf, size_t *outbytesleft)
 {
 	size_t in_left=*inbytesleft, out_left=*outbytesleft;
-	uint8_t *c = (uint8_t *)*outbuf;
-	const uint8_t *uc = (const uint8_t *)*inbuf;
+	uint8 *c = (uint8 *)*outbuf;
+	const uint8 *uc = (const uint8 *)*inbuf;
 
 	while (in_left >= 2 && out_left >= 1) {
 		unsigned int codepoint;



More information about the samba-cvs mailing list