Kaynağa Gözat

Fix windows compilation

Nick Mathewson 8 yıl önce
ebeveyn
işleme
69f7f9b0d4
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;