Fix 32-bit errors

Summary: https://www.facebook.com/groups/rocksdb.dev/permalink/590438347721350/

Test Plan: compiles

Reviewers: sdong, ljin, yhchiang

Reviewed By: yhchiang

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D19197
main
Igor Canadi 11 years ago
parent 1d05006740
commit d3f63f03ad
  1. 2
      util/env_posix.cc

@ -821,7 +821,7 @@ class PosixWritableFile : public WritableFile {
} }
} }
virtual Status RangeSync(off64_t offset, off64_t nbytes) { virtual Status RangeSync(off_t offset, off_t nbytes) {
if (sync_file_range(fd_, offset, nbytes, SYNC_FILE_RANGE_WRITE) == 0) { if (sync_file_range(fd_, offset, nbytes, SYNC_FILE_RANGE_WRITE) == 0) {
return Status::OK(); return Status::OK();
} else { } else {

Loading…
Cancel
Save