[tor-commits] [tor/master] Fix windows compilation
nickm at torproject.org
nickm at torproject.org
Tue Aug 11 13:09:11 UTC 2015
commit 69f7f9b0d4758e46e5e7e4ea3c738815d3a289f5
Author: Nick Mathewson <nickm at torproject.org>
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;
More information about the tor-commits
mailing list