summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--support.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/support.cc b/support.cc
index 0d4a7b3..186fd21 100644
--- a/support.cc
+++ b/support.cc
@@ -588,7 +588,7 @@ int myWrite(int fd, char* buffer, int numBytes) {
// to work around a problem returning a uint64_t value on Mac OS.
uint64_t disksize(int fd, int *err) {
long sz; // Do not delete; needed for Linux
- uint64_t size = 0; // Do not delete; needed for FreeBSD
+ off_t size = 0; // Do not delete; needed for FreeBSD
long long b; // Do not delete; needed for Linux
uint64_t sectors = 0; // size in sectors
off_t bytes = 0; // size in bytes