Signed to unsigned conversion to appease GCC
This commit is contained in:
committed by
Dmitry Podgorny
parent
75938845fd
commit
982d840472
@@ -509,7 +509,7 @@ char *base64_encode(xmpp_ctx_t *ctx,
|
|||||||
int clen;
|
int clen;
|
||||||
char *cbuf, *c;
|
char *cbuf, *c;
|
||||||
uint32_t word, hextet;
|
uint32_t word, hextet;
|
||||||
int i;
|
unsigned i;
|
||||||
|
|
||||||
clen = base64_encoded_len(ctx, len);
|
clen = base64_encoded_len(ctx, len);
|
||||||
cbuf = xmpp_alloc(ctx, clen + 1);
|
cbuf = xmpp_alloc(ctx, clen + 1);
|
||||||
@@ -587,7 +587,7 @@ unsigned char *base64_decode(xmpp_ctx_t *ctx,
|
|||||||
int dlen;
|
int dlen;
|
||||||
unsigned char *dbuf, *d;
|
unsigned char *dbuf, *d;
|
||||||
uint32_t word, hextet;
|
uint32_t word, hextet;
|
||||||
int i;
|
unsigned i;
|
||||||
|
|
||||||
/* len must be a multiple of 4 */
|
/* len must be a multiple of 4 */
|
||||||
if (len & 0x03) return NULL;
|
if (len & 0x03) return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user