Commit 8f116a81 authored by Jon Griffiths's avatar Jon Griffiths

base64: Remove an invalid assertion

Unsigned types cannot be negative.
Signed-off-by: default avatarJon Griffiths <jon_p_griffiths@yahoo.com>
parent 93526097
......@@ -14,7 +14,6 @@
*/
static char sixbit_to_b64(const base64_maps_t *maps, const uint8_t sixbit)
{
assert(sixbit >= 0);
assert(sixbit <= 63);
return maps->encode_map[(unsigned char)sixbit];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment