diff options
author | BakasuraRCE <bakasura@protonmail.ch> | 2020-07-20 17:57:13 -0500 |
---|---|---|
committer | Patrick <tingping@tingping.se> | 2020-10-16 23:19:10 +0200 |
commit | bbbc2aad1bb3bce3ee5245d827af4afe9eb1b128 (patch) | |
tree | f8af1ce70399c20a244b4239f573f3d2314a8f69 /plugins/fishlim | |
parent | 7a275812c0002fe10db5c60e29a34ba6ce4cede1 (diff) |
fishlim: Fix cast
Diffstat (limited to 'plugins/fishlim')
-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); } |