Skip to content

Commit 05da593

Browse files
author
Sage Weil
committed
Merge pull request ceph#4 from xinxinsh/wip-rocksdb
fix compile error on 32-bits Reviewed-by: Sage Weil <sage@redhat.com>
2 parents ab4d781 + 4081361 commit 05da593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/env_posix.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ class PosixWritableFile : public WritableFile {
821821
}
822822
}
823823

824-
virtual Status RangeSync(off64_t offset, off64_t nbytes) {
824+
virtual Status RangeSync(off_t offset, off_t nbytes) {
825825
if (sync_file_range(fd_, offset, nbytes, SYNC_FILE_RANGE_WRITE) == 0) {
826826
return Status::OK();
827827
} else {

0 commit comments

Comments
 (0)