summaryrefslogtreecommitdiff
path: root/support.cc
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2010-01-20 01:05:48 -0500
committersrs5694 <srs5694@users.sourceforge.net>2010-01-20 01:05:48 -0500
commit519b5bb70ae8a185e9e158bba484abf9c11353ea (patch)
treec5d4c2ea343734a4a7a97355754894e7270f5835 /support.cc
parentfd058aeda5d9042f52fdabf0109904d7d5dd2ce1 (diff)
downloadsgdisk-519b5bb70ae8a185e9e158bba484abf9c11353ea.tar.gz
Minor changes
Diffstat (limited to 'support.cc')
-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