From 270d25bf2db157c9d1cdcc57bccefabbb1341524 Mon Sep 17 00:00:00 2001 From: Masaki Muranaka Date: Sat, 8 Mar 2014 13:54:02 +0900 Subject: Make type casts safer. --- mrbgems/mruby-proc-ext/src/proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mrbgems') diff --git a/mrbgems/mruby-proc-ext/src/proc.c b/mrbgems/mruby-proc-ext/src/proc.c index 0bf1204f5..4e41891a4 100644 --- a/mrbgems/mruby-proc-ext/src/proc.c +++ b/mrbgems/mruby-proc-ext/src/proc.c @@ -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); -- cgit v1.2.3