lib/ffi-icu/chardet.rb in ffi-icu-0.0.1 vs lib/ffi-icu/chardet.rb in ffi-icu-0.0.2

- old
+ new

@@ -42,10 +42,10 @@ end def detect_all(str) set_text(str) - matches_found_ptr = FFI::MemoryPointer.new :int32 + matches_found_ptr = FFI::MemoryPointer.new :int32_t array_ptr = Lib.check_error do |status| Lib.ucsdet_detectAll(@detector, matches_found_ptr, status) end length = matches_found_ptr.read_int