]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
fix compile error on 32-bits 4/head
authorxinxin shu <xinxin.shu@intel.com>
Mon, 4 Aug 2014 21:14:19 +0000 (05:14 +0800)
committerxinxin shu <xinxin.shu@intel.com>
Mon, 4 Aug 2014 21:14:19 +0000 (05:14 +0800)
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
util/env_posix.cc

index 5cbd5bd009d845197424f76c2a59f1476330d006..63b9fc26a3aca212b525e1d209ad2f47e9bf21b4 100644 (file)
@@ -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 {