aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-08-11 09:09:06 -0400
committerNick Mathewson <nickm@torproject.org>2015-08-11 09:09:06 -0400
commit69f7f9b0d4758e46e5e7e4ea3c738815d3a289f5 (patch)
treec356bf0d523e82bf5195a48e53454237cacd6b2e /src/common/compat.c
parent3fdc07df5b59d27fb46c7d59f744372ffc45af5b (diff)
downloadtor-69f7f9b0d4758e46e5e7e4ea3c738815d3a289f5.tar.gz
tor-69f7f9b0d4758e46e5e7e4ea3c738815d3a289f5.zip
Fix windows compilation
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 10c43416bf..76f9bcb97e 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;