ext/Common.c in rubyfb-0.5.4 vs ext/Common.c in rubyfb-0.5.5
- old
+ new
@@ -46,9 +46,9 @@
array[0] = rb_str_new2("CLASS_NAME");
array[1] = rb_funcall(value, rb_intern("name"), 0);
message = rb_funcall(message, rb_intern("gsub"), 2, array);
- rb_fireruby_raise(NULL, STR2CSTR(message));
+ rb_fireruby_raise(NULL, StringValuePtr(message));
return(Qnil);
}