Commit 3d034f52 authored by Frank Celler's avatar Frank Celler

assign will break under C++ even when included with extern C

parent 673b3350
......@@ -134,7 +134,7 @@ static inline mrb_value
mrb_obj_value(void *p)
{
mrb_value v;
struct RBasic *b = p;
struct RBasic *b = (struct RBasic*) p;
v.tt = b->tt;
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