diff options
| author | Daniel Bovensiepen <[email protected]> | 2012-11-09 13:16:50 +0900 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2012-11-09 13:16:50 +0900 |
| commit | c3bd1c1d0d43e7571bc38cfa71c40c69cea1b5a4 (patch) | |
| tree | 70c4ea718ab7b98724d0a361ba122ebf08c9b5ab /src/state.c | |
| parent | fcaeec554a9aac77463f1460b469ea5f34a6f2a0 (diff) | |
| parent | caeec3a3af1845c889ec5385681eb32611c3ac7a (diff) | |
| download | mruby-c3bd1c1d0d43e7571bc38cfa71c40c69cea1b5a4.tar.gz mruby-c3bd1c1d0d43e7571bc38cfa71c40c69cea1b5a4.zip | |
Merge remote-tracking branch 'upstream/master' into mrbgems
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; |
