refactor dict.c stritc type casts

This commit is contained in:
Yuichi Nishiwaki 2014-09-26 16:27:19 +09:00
parent 68a900ee94
commit f214cbf974
1 changed files with 2 additions and 2 deletions

4
dict.c
View File

@ -35,7 +35,7 @@ xh_value_hash(const void *key, void *data)
break;
}
return hash + pic_vtype(val);
return hash + (int)pic_vtype(val);
}
static int
@ -213,7 +213,7 @@ pic_dict_dictionary_size(pic_state *pic)
pic_get_args(pic, "d", &dict);
return pic_int_value(pic_dict_size(pic, dict));
return pic_int_value((int)pic_dict_size(pic, dict));
}
static pic_value