Use unsigned int instead of uint because uint is already in use on OS X.
authorTobias Markmann <tm@ayena.de>
Fri, 28 Nov 2008 18:24:08 +0000 (19:24 +0100)
committerTobias Markmann <tm@ayena.de>
Fri, 28 Nov 2008 18:24:08 +0000 (19:24 +0100)
util-src/encodings.c

index 13706a891dd48a37913e421c2c8279f3f87b9cc3..5fe2c805ed58f720dc8e693b6329508ec54cedfd 100644 (file)
 \r
 /***************** BASE64 *****************/\r
 \r
-#define uint unsigned int\r
-\r
 static const char code[]=\r
 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";\r
 \r
-static void base64_encode(luaL_Buffer *b, uint c1, uint c2, uint c3, int n)\r
+static void base64_encode(luaL_Buffer *b, unsigned int c1, unsigned int c2, unsigned int c3, int n)\r
 {\r
        unsigned long tuple=c3+256UL*(c2+256UL*c1);\r
        int i;\r