浏览代码

Fix windows compilation

Nick Mathewson 8 年之前
父节点
当前提交
69f7f9b0d4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/common/compat.c

+ 1 - 1
src/common/compat.c

@@ -3417,7 +3417,7 @@ tor_get_avail_disk_space(const char *path)
   if (!ok) {
     return -1;
   }
-  return (int64_t)freeBytesAvail;
+  return (int64_t)freeBytesAvail.QuadPart;
 #else
   (void)path;
   errno = ENOSYS;