ext/FireRuby.c in rubyfb-0.5.4 vs ext/FireRuby.c in rubyfb-0.5.5

- old
+ new

@@ -68,10 +68,10 @@ void getClassName(VALUE object, char *name) { VALUE klass = rb_funcall(object, rb_intern("class"), 0), string = rb_funcall(klass, rb_intern("name"), 0); - strcpy(name, STR2CSTR(string)); + strcpy(name, StringValuePtr(string)); } /** * This method takes a string and generates a Symbol object from it.