]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix windows compilation
authorNick Mathewson <nickm@torproject.org>
Tue, 11 Aug 2015 13:09:06 +0000 (09:09 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 11 Aug 2015 13:09:06 +0000 (09:09 -0400)
src/common/compat.c

index 10c43416bf839a6a9d5d335d1dd91d003a03fdb2..76f9bcb97e51c9795c229122727c100b0c0cca39 100644 (file)
@@ -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;