summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-04-24 16:03:42 +0900
committerYukihiro Matsumoto <[email protected]>2012-04-24 16:03:42 +0900
commit2970b6aadbb0d5afef683854e0fe36b05024fc36 (patch)
tree52d2d734b7769b8473489c92bd9d685cea13adbc /src
parent2fc1b8af2db70e2e008cecb9fd2d8600034f95f9 (diff)
downloadmruby-2970b6aadbb0d5afef683854e0fe36b05024fc36.tar.gz
mruby-2970b6aadbb0d5afef683854e0fe36b05024fc36.zip
change type of RString.size from size_t to long
Diffstat (limited to 'src')
-rw-r--r--src/cdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cdump.c b/src/cdump.c
index d48139664..131a9891a 100644
--- a/src/cdump.c
+++ b/src/cdump.c
@@ -146,7 +146,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\", %zd);", n, str_to_format(irep->pool[n], buf), RSTRING_LEN(irep->pool[n])); break;
+ SOURCE_CODE(" irep->pool[%d] = mrb_str_new(mrb, \"%s\", %ld);", n, str_to_format(irep->pool[n], buf), RSTRING_LEN(irep->pool[n])); break;
/* TODO MRB_TT_REGEX */
default: break;
}