summaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
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;