Permalink
Browse files

Update for Ruby 1.9.2

  • Loading branch information...
1 parent 8a489b0 commit e9098e24ebdab0ff72becad03037bddf2d3f5363 @mabounassif mabounassif committed Jun 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/ferret_tokenizer.c
View
@@ -50,7 +50,7 @@ VALUE method_next(VALUE self) {
}
VALUE method_initialize(VALUE self, VALUE str) {
- char* s = RSTRING(str)->ptr;
+ char* s = RSTRING_PTR(str);
Tokenizer *t;
Data_Get_Struct(self, Tokenizer, t);
t->data = s;

0 comments on commit e9098e2

Please sign in to comment.