diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-06-03 07:55:39 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-06-03 07:55:39 +0900 |
| commit | 12d75223d62ed90f334980c3a15e96618250fe90 (patch) | |
| tree | cd5facb0373fd3a74d457ee2289682a67ed29e55 /src/print.c | |
| parent | 5fcd520514095fa9bbb31d2e7eca192b1be7dfc2 (diff) | |
| download | mruby-12d75223d62ed90f334980c3a15e96618250fe90.tar.gz mruby-12d75223d62ed90f334980c3a15e96618250fe90.zip | |
make shared string to reference-counted C structure to reduce GC pressure
Diffstat (limited to 'src/print.c')
| -rw-r--r-- | src/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c index 505597935..e6873913b 100644 --- a/src/print.c +++ b/src/print.c @@ -13,7 +13,7 @@ printstr(mrb_state *mrb, mrb_value obj) { struct RString *str; char *s; - size_t len; + int len; if (mrb_type(obj) == MRB_TT_STRING) { str = mrb_str_ptr(obj); |
