Skip to content

Commit

Permalink
fix gcc warning, thanks Paul Smith @madscientist
Browse files Browse the repository at this point in the history
  • Loading branch information
zhicheng committed Feb 16, 2019
1 parent b7982e5 commit 6148c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base64.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ base64_decode(const char *in, unsigned int inlen, unsigned char *out)
return 0;
}

c = base64de[in[i]];
c = base64de[(unsigned char)in[i]];
if (c == 255) {
return 0;
}
Expand Down

0 comments on commit 6148c69

Please sign in to comment.