Fixed FFI warnings