ext/oj/reader.h in oj-2.10.1 vs ext/oj/reader.h in oj-2.10.2
- old
+ new
@@ -147,10 +147,10 @@
}
static inline void
reader_cleanup(Reader reader) {
if (reader->free_head && 0 != reader->head) {
- xfree(reader->head);
+ xfree((char*)reader->head);
reader->head = 0;
reader->free_head = 0;
}
}