diff options
author | Tobias Markmann <tm@ayena.de> | 2008-11-28 19:24:08 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2008-11-28 19:24:08 +0100 |
commit | a718775bd40db918564a31e90f4c17a98a4cecfc (patch) | |
tree | eef4403a95d78bdc355624a68d8c6bc28e88c0b1 /util-src/encodings.c | |
parent | 0df2b3f0c51f75dd9106671362bdfae7a8a44afd (diff) | |
download | prosody-a718775bd40db918564a31e90f4c17a98a4cecfc.tar.gz prosody-a718775bd40db918564a31e90f4c17a98a4cecfc.zip |
Use unsigned int instead of uint because uint is already in use on OS X.
Diffstat (limited to 'util-src/encodings.c')
-rw-r--r-- | util-src/encodings.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/util-src/encodings.c b/util-src/encodings.c index 13706a89..5fe2c805 100644 --- a/util-src/encodings.c +++ b/util-src/encodings.c @@ -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;
|