summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-proc-ext/src/proc.c
diff options
context:
space:
mode:
authorMasaki Muranaka <[email protected]>2014-03-08 13:54:02 +0900
committerMasaki Muranaka <[email protected]>2014-03-08 15:53:59 +0900
commit270d25bf2db157c9d1cdcc57bccefabbb1341524 (patch)
tree22319de5b6970a0378f0b8c8c7164e7ac34ffedd /mrbgems/mruby-proc-ext/src/proc.c
parent058bb18f280dddb53ac40c838b371e9469024274 (diff)
downloadmruby-270d25bf2db157c9d1cdcc57bccefabbb1341524.tar.gz
mruby-270d25bf2db157c9d1cdcc57bccefabbb1341524.zip
Make type casts safer.
Diffstat (limited to 'mrbgems/mruby-proc-ext/src/proc.c')
-rw-r--r--mrbgems/mruby-proc-ext/src/proc.c2
1 files changed, 1 insertions, 1 deletions
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);