Commit f153088d authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #15 from fceller/master

Assign will break when used in a C++ environment
parents 673b3350 3d034f52
...@@ -134,7 +134,7 @@ static inline mrb_value ...@@ -134,7 +134,7 @@ static inline mrb_value
mrb_obj_value(void *p) mrb_obj_value(void *p)
{ {
mrb_value v; mrb_value v;
struct RBasic *b = p; struct RBasic *b = (struct RBasic*) p;
v.tt = b->tt; v.tt = b->tt;
v.value.p = p; v.value.p = p;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment