Skip to content

Commit

Permalink
base64: silence compiler warning by using correct type
Browse files Browse the repository at this point in the history
  • Loading branch information
nikias committed Dec 13, 2013
1 parent 76d4a58 commit 97be452
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/base64.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ char *base64encode(const unsigned char *buf, size_t *size)
static int base64decode_block(unsigned char *target, const char *data, size_t data_size)
{
int w1,w2,w3,w4;
int n,i;
int i;
size_t n;

if (!data || (data_size <= 0)) {
return 0;
Expand Down

0 comments on commit 97be452

Please sign in to comment.