summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-proc-ext/src/proc.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-03-19 23:42:49 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-03-19 23:42:49 +0900
commitcea6a16cf41b5268a0ad38d1c6ab3140e375f0f3 (patch)
tree4ac99aa068a917e4597e74debca6675ef511d2d1 /mrbgems/mruby-proc-ext/src/proc.c
parent09574922a987aaa0813a4dfd37ac89ca60ca4281 (diff)
downloadmruby-cea6a16cf41b5268a0ad38d1c6ab3140e375f0f3.tar.gz
mruby-cea6a16cf41b5268a0ad38d1c6ab3140e375f0f3.zip
Fixed some compiler errors regarding PRId.
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 1e033cbfb..8c9e300dc 100644
--- a/mrbgems/mruby-proc-ext/src/proc.c
+++ b/mrbgems/mruby-proc-ext/src/proc.c
@@ -54,7 +54,7 @@ mrb_proc_inspect(mrb_state *mrb, mrb_value self)
if (line != -1) {
char buf[32];
- snprintf(buf, sizeof(buf), "%"MRB_PRId, line);
+ snprintf(buf, sizeof(buf), "%" PRId32, line);
mrb_str_cat_cstr(mrb, str, buf);
}
else {