Browse Source

Fix windows compilation

Nick Mathewson 8 years ago
parent
commit
69f7f9b0d4
1 changed files with 1 additions and 1 deletions
  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;