diff --git a/util-src/encodings.c b/util-src/encodings.c index 13706a891..5fe2c805e 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;