diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2012-11-09 05:51:34 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2012-11-09 05:51:34 +0900 |
| commit | caeec3a3af1845c889ec5385681eb32611c3ac7a (patch) | |
| tree | 025d1e7955cb8f8150da6660c960d666a34c81f0 /src/state.c | |
| parent | 0ab7ff81d62e562f02e7b35838886776c81fc293 (diff) | |
| parent | 8038ba8e277ed2c9e0c639c3a698fd3c74902770 (diff) | |
| download | mruby-caeec3a3af1845c889ec5385681eb32611c3ac7a.tar.gz mruby-caeec3a3af1845c889ec5385681eb32611c3ac7a.zip | |
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'src/state.c')
| -rw-r--r-- | src/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c index 8bd222fb5..db31d7037 100644 --- a/src/state.c +++ b/src/state.c @@ -53,7 +53,7 @@ mrb_alloca(mrb_state *mrb, size_t size) { struct alloca_header *p; - p = mrb_malloc(mrb, sizeof(struct alloca_header)+size); + p = (struct alloca_header*) mrb_malloc(mrb, sizeof(struct alloca_header)+size); p->next = mrb->mems; mrb->mems = p; return (void*)p->buf; |
