diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-29 05:35:38 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-29 05:35:38 -0800 |
| commit | 1724042225c4a4ce8b2222569c5b86937729d11a (patch) | |
| tree | 8e3ce5c48559aa4e3b18f3c274ecdd78a031d494 /src | |
| parent | e18a9c0a56aebcee004cd039c97667b56106e6aa (diff) | |
| parent | 5a681874dd8fbd5446615710fcd4320a2f1438c9 (diff) | |
| download | mruby-1724042225c4a4ce8b2222569c5b86937729d11a.tar.gz mruby-1724042225c4a4ce8b2222569c5b86937729d11a.zip | |
Merge pull request #766 from masuidrive/mrbint64
Fixed MRB_INT64 warning
Diffstat (limited to 'src')
| -rw-r--r-- | src/cdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cdump.c b/src/cdump.c index 247511f5a..7beb3544f 100644 --- a/src/cdump.c +++ b/src/cdump.c @@ -145,7 +145,7 @@ make_cdump_irep(mrb_state *mrb, int irep_no, FILE *f) case MRB_TT_FLOAT: SOURCE_CODE(" irep->pool[%d] = mrb_float_value(%.16e);", n, mrb_float(irep->pool[n])); break; case MRB_TT_FIXNUM: - SOURCE_CODE(" irep->pool[%d] = mrb_fixnum_value(%d);", n, mrb_fixnum(irep->pool[n])); break; + SOURCE_CODE(" irep->pool[%d] = mrb_fixnum_value(%" MRB_INT_FORMAT ");", n, mrb_fixnum(irep->pool[n])); break; case MRB_TT_STRING: str_len = str_format_len(irep->pool[n]) + 1; if ( str_len > buf_len ) { |
