diff options
| author | Max Anselm <[email protected]> | 2012-07-29 19:45:27 -0400 |
|---|---|---|
| committer | Max Anselm <[email protected]> | 2012-07-29 19:48:48 -0400 |
| commit | 5a4beeed2d0c229a3a558650f03c8390da2d556c (patch) | |
| tree | 545bffc9810de3e29bd94625aa48aa748d4c1dce /src/proc.c | |
| parent | ee899778c4f6cb0d201e50996e73639eabf98704 (diff) | |
| download | mruby-5a4beeed2d0c229a3a558650f03c8390da2d556c.tar.gz mruby-5a4beeed2d0c229a3a558650f03c8390da2d556c.zip | |
Make all(?) void casts explicit for C++
Diffstat (limited to 'src/proc.c')
| -rw-r--r-- | src/proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proc.c b/src/proc.c index e27d5d578..d223fa760 100644 --- a/src/proc.c +++ b/src/proc.c @@ -144,8 +144,8 @@ void mrb_init_proc(mrb_state *mrb) { struct RProc *m; - mrb_code *call_iseq = mrb_malloc(mrb, sizeof(mrb_code)); - mrb_irep *call_irep = mrb_calloc(mrb, sizeof(mrb_irep), 1); + mrb_code *call_iseq = (mrb_code *)mrb_malloc(mrb, sizeof(mrb_code)); + mrb_irep *call_irep = (mrb_irep *)mrb_calloc(mrb, sizeof(mrb_irep), 1); if ( call_iseq == NULL || call_irep == NULL ) return; |
