diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/fishlim/fish.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/fishlim/fish.c b/plugins/fishlim/fish.c index 9301d5d5..88f7caec 100644 --- a/plugins/fishlim/fish.c +++ b/plugins/fishlim/fish.c @@ -164,8 +164,8 @@ char *fish_base64_decode(const char *message, size_t *final_len) { while (*msg) { right = 0; left = 0; - for (i = 0; i < 6; i++) right |= (uint8_t) fish_unbase64[*msg++] << (i * 6u); - for (i = 0; i < 6; i++) left |= (uint8_t) fish_unbase64[*msg++] << (i * 6u); + for (i = 0; i < 6; i++) right |= (uint8_t) fish_unbase64[(int)*msg++] << (i * 6u); + for (i = 0; i < 6; i++) left |= (uint8_t) fish_unbase64[(int)*msg++] << (i * 6u); GET_BYTES(byt, left); GET_BYTES(byt, right); } |