Changeset

474:666e22848890

Use unsigned int instead of uint because uint is already in use on OS X.
author Tobias Markmann <tm@ayena.de>
date Fri, 28 Nov 2008 19:24:08 +0100
parents 473:22b0e654c4cf
children 475:fe861de7a4fc
files util-src/encodings.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/util-src/encodings.c	Fri Nov 28 18:36:04 2008 +0100
+++ b/util-src/encodings.c	Fri Nov 28 19:24:08 2008 +0100
@@ -14,12 +14,10 @@
 
 /***************** BASE64 *****************/
 
-#define uint unsigned int
-
 static const char code[]=
 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
 
-static void base64_encode(luaL_Buffer *b, uint c1, uint c2, uint c3, int n)
+static void base64_encode(luaL_Buffer *b, unsigned int c1, unsigned int c2, unsigned int c3, int n)
 {
 	unsigned long tuple=c3+256UL*(c2+256UL*c1);
 	int i;