Merge pull request #1831 from monaka/pr-make-type-casts-safer

Make type casts safer
This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-03-09 01:28:31 +09:00
8 changed files with 245 additions and 151 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ mrb_proc_source_location(mrb_state *mrb, mrb_value self)
}
else {
mrb_irep *irep = p->body.irep;
uint32_t line;
int32_t line;
const char *filename;
filename = mrb_debug_get_filename(irep, 0);