diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-04-21 00:51:20 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-04-21 00:51:20 +0900 |
| commit | c138d7ef0a2365fd7da6a6374f9fa607633f07d5 (patch) | |
| tree | f47d780fb6263627c89b07e5aa1a995695371758 /src/cdump.c | |
| parent | 2dd08ef2ec27c69edf7c2eed188ec69f42048a02 (diff) | |
| download | mruby-c138d7ef0a2365fd7da6a6374f9fa607633f07d5.tar.gz mruby-c138d7ef0a2365fd7da6a6374f9fa607633f07d5.zip | |
use %zd for size_t argument
Diffstat (limited to 'src/cdump.c')
| -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 74365b090..424b4f69b 100644 --- a/src/cdump.c +++ b/src/cdump.c @@ -140,7 +140,7 @@ make_cdump_irep(mrb_state *mrb, int irep_no, FILE *f) } } memset(buf, 0, buf_len); - SOURCE_CODE(" irep->pool[%d] = mrb_str_new(mrb, \"%s\", %d);", n, str_to_format(irep->pool[n], buf), RSTRING_LEN(irep->pool[n])); break; + SOURCE_CODE(" irep->pool[%d] = mrb_str_new(mrb, \"%s\", %zd);", n, str_to_format(irep->pool[n], buf), RSTRING_LEN(irep->pool[n])); break; /* TODO MRB_TT_REGEX */ default: break; } |
