From 667e788159e6cec2616555dbbae7e2cec42d5c30 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Mon, 19 Jun 2017 09:21:07 +0900 Subject: Use `mrb_int` instead of `int` as argument to `mrb_hash_new_capa`. --- include/mruby/hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/mruby/hash.h b/include/mruby/hash.h index 55ad6a921..1a870785a 100644 --- a/include/mruby/hash.h +++ b/include/mruby/hash.h @@ -24,7 +24,7 @@ struct RHash { #define mrb_hash_ptr(v) ((struct RHash*)(mrb_ptr(v))) #define mrb_hash_value(p) mrb_obj_value((void*)(p)) -MRB_API mrb_value mrb_hash_new_capa(mrb_state*, int); +MRB_API mrb_value mrb_hash_new_capa(mrb_state*, mrb_int); /* * Initializes a new hash. -- cgit v1.2.3