[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Fix windows compilation



commit 69f7f9b0d4758e46e5e7e4ea3c738815d3a289f5
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue Aug 11 09:09:06 2015 -0400

    Fix windows compilation
---
 src/common/compat.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/compat.c b/src/common/compat.c
index 10c4341..76f9bcb 100644
--- a/src/common/compat.c
+++ b/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;

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits