projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
046f8a7
)
Use unsigned int instead of uint because uint is already in use on OS X.
author
Tobias Markmann
<tm@ayena.de>
Fri, 28 Nov 2008 18:24:08 +0000
(19:24 +0100)
committer
Tobias Markmann
<tm@ayena.de>
Fri, 28 Nov 2008 18:24:08 +0000
(19:24 +0100)
util-src/encodings.c
patch
|
blob
|
history
diff --git
a/util-src/encodings.c
b/util-src/encodings.c
index 13706a891dd48a37913e421c2c8279f3f87b9cc3..5fe2c805ed58f720dc8e693b6329508ec54cedfd 100644
(file)
--- a/
util-src/encodings.c
+++ b/
util-src/encodings.c
@@
-14,12
+14,10
@@
\r
/***************** BASE64 *****************/
\r
\r
\r
/***************** BASE64 *****************/
\r
\r
-#define uint unsigned int
\r
-
\r
static const char code[]=
\r
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
\r
\r
static const char code[]=
\r
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
\r
\r
-static void base64_encode(luaL_Buffer *b, u
int c1, uint c2, u
int c3, int n)
\r
+static void base64_encode(luaL_Buffer *b, u
nsigned int c1, unsigned int c2, unsigned
int c3, int n)
\r
{
\r
unsigned long tuple=c3+256UL*(c2+256UL*c1);
\r
int i;
\r
{
\r
unsigned long tuple=c3+256UL*(c2+256UL*c1);
\r
int i;
\r