summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-hash-ext/src/hash-ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'mrbgems/mruby-hash-ext/src/hash-ext.c')
-rw-r--r--mrbgems/mruby-hash-ext/src/hash-ext.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mrbgems/mruby-hash-ext/src/hash-ext.c b/mrbgems/mruby-hash-ext/src/hash-ext.c
index 75ebd412b..16e066c73 100644
--- a/mrbgems/mruby-hash-ext/src/hash-ext.c
+++ b/mrbgems/mruby-hash-ext/src/hash-ext.c
@@ -22,7 +22,8 @@
static mrb_value
hash_values_at(mrb_state *mrb, mrb_value hash)
{
- mrb_value *argv, result;
+ const mrb_value *argv;
+ mrb_value result;
mrb_int argc, i;
int ai;
@@ -49,7 +50,8 @@ hash_values_at(mrb_state *mrb, mrb_value hash)
static mrb_value
hash_slice(mrb_state *mrb, mrb_value hash)
{
- mrb_value *argv, result;
+ const mrb_value *argv;
+ mrb_value result;
mrb_int argc, i;
mrb_get_args(mrb, "*", &argv, &argc);