summaryrefslogtreecommitdiffhomepage
path: root/src/error.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-05-23 03:31:55 +0900
committerYukihiro Matsumoto <[email protected]>2012-05-23 03:31:55 +0900
commit4523bee95357bed945a58462544441371160056f (patch)
treefc7fecb95769eee94f1596b13eb58472281ec656 /src/error.c
parent714b358bb22c99bf653e21f4f9f6e22e24134b28 (diff)
downloadmruby-4523bee95357bed945a58462544441371160056f.tar.gz
mruby-4523bee95357bed945a58462544441371160056f.zip
cast style consistency
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.c b/src/error.c
index c0a2a232c..c11809992 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 = (struct RObject *) mrb_object(exc);
+ mrb->exc = (struct RObject*)mrb_object(exc);
longjmp(*(jmp_buf*)mrb->jmp, 1);
}