Skip to content

Commit

Permalink
Merge pull request ceph#4 from xinxinsh/wip-rocksdb
Browse files Browse the repository at this point in the history
fix compile error on 32-bits

Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
Sage Weil committed Aug 6, 2014
2 parents ab4d781 + 4081361 commit 05da593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/env_posix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
return Status::OK();
} else {
Expand Down

0 comments on commit 05da593

Please sign in to comment.