summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-pack/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-05-16 10:15:11 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2019-05-16 10:15:11 +0900
commit7aff5507dddf63dab578165471205b674e28524c (patch)
tree7f5e45d280e6a27b7825db2c898ec29a7c625b9d /mrbgems/mruby-pack/src
parent2f1425414226f4ff6698de99b0d1b743368cdb39 (diff)
downloadmruby-7aff5507dddf63dab578165471205b674e28524c.tar.gz
mruby-7aff5507dddf63dab578165471205b674e28524c.zip
Avoid potential type mismatch warnings in `pack.c`.
Diffstat (limited to 'mrbgems/mruby-pack/src')
-rw-r--r--mrbgems/mruby-pack/src/pack.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mrbgems/mruby-pack/src/pack.c b/mrbgems/mruby-pack/src/pack.c
index 0c4f0d965..75a447d6c 100644
--- a/mrbgems/mruby-pack/src/pack.c
+++ b/mrbgems/mruby-pack/src/pack.c
@@ -118,9 +118,9 @@ make_base64_dec_tab(void)
base64_dec_tab['a' + i] = i + 26;
for (i = 0; i < 10; i++)
base64_dec_tab['0' + i] = i + 52;
- base64_dec_tab['+'] = 62;
- base64_dec_tab['/'] = 63;
- base64_dec_tab['='] = PACK_BASE64_PADDING;
+ base64_dec_tab['+'+0] = 62;
+ base64_dec_tab['/'+0] = 63;
+ base64_dec_tab['='+0] = PACK_BASE64_PADDING;
}
static mrb_value