From 3e2487493ef28ea9e44931faffb04e89ed3aae8d Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 26 Aug 2008 01:40:19 +0000 Subject: Use SIZEOF_OFF_T definition from config file --- lib/progress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/progress.c') 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 */ -- cgit v1.2.3