diff options
author | Yang Tse <yangsita@gmail.com> | 2008-08-26 01:40:19 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-08-26 01:40:19 +0000 |
commit | 3e2487493ef28ea9e44931faffb04e89ed3aae8d (patch) | |
tree | 30e40bb35c060ec724fa46ef0ede265881284dfb /lib/progress.c | |
parent | fdcb0cd2bce920231af8c0218fe48f276817018b (diff) | |
download | curl-3e2487493ef28ea9e44931faffb04e89ed3aae8d.tar.gz |
Use SIZEOF_OFF_T definition from config file
Diffstat (limited to 'lib/progress.c')
-rw-r--r-- | lib/progress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/progress.c b/lib/progress.c index 939e7dbcf..1c997e04d 100644 --- a/lib/progress.c +++ b/lib/progress.c @@ -78,7 +78,7 @@ static char *max5data(curl_off_t bytes, char *max5) bytes/ONE_MEGABYTE, (bytes%ONE_MEGABYTE) / (ONE_MEGABYTE/CURL_OFF_T_C(10)) ); -#if CURL_SIZEOF_CURL_OFF_T > 4 +#if (CURL_SIZEOF_CURL_OFF_T > 4) else if(bytes < CURL_OFF_T_C(10000) * ONE_MEGABYTE) /* 'XXXXM' is good until we're at 10000MB or above */ |