diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-05-20 10:07:41 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-05-20 10:07:41 -0700 |
| commit | ebfebfc3658660ebdb4a32991d1eab736bfee504 (patch) | |
| tree | 08448056bc440124baab552e716c383f5e3f5ef7 /src/error.c | |
| parent | ec8f97d2a6facab56ff78cc62ebf1928d06bed4a (diff) | |
| parent | 9e336b00e5934dbe583edfd1db6370fa4e78745d (diff) | |
| download | mruby-ebfebfc3658660ebdb4a32991d1eab736bfee504.tar.gz mruby-ebfebfc3658660ebdb4a32991d1eab736bfee504.zip | |
Merge pull request #171 from mitchblank/cplusplus
More C++ compilability work: mrb_obj_alloc void* conversions
Diffstat (limited to 'src/error.c')
| -rw-r--r-- | src/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.c b/src/error.c index f3673f9c3..c0a2a232c 100644 --- a/src/error.c +++ b/src/error.c @@ -183,7 +183,7 @@ exc_equal(mrb_state *mrb, mrb_value exc) void mrb_exc_raise(mrb_state *mrb, mrb_value exc) { - mrb->exc = mrb_object(exc); + mrb->exc = (struct RObject *) mrb_object(exc); longjmp(*(jmp_buf*)mrb->jmp, 1); } |
