s/SIZEOF_CURL_OFF_T/CURL_SIZEOF_CURL_OFF_T/g

This commit is contained in:
Yang Tse
2008-08-11 01:22:57 +00:00
parent 3a1d28379a
commit 24b1890710
6 changed files with 12 additions and 14 deletions

View File

@@ -86,7 +86,7 @@ static char *max5data(curl_off_t bytes, char *max5)
(int)(bytes/ONE_MEGABYTE),
(int)(bytes%ONE_MEGABYTE)/(ONE_MEGABYTE/10) );
}
#if SIZEOF_CURL_OFF_T > 4
#if CURL_SIZEOF_CURL_OFF_T > 4
else if(bytes < ( (curl_off_t)10000*ONE_MEGABYTE))
/* 'XXXXM' is good until we're at 10000MB or above */
snprintf(max5, 6, "%4" FORMAT_OFF_T "M", (curl_off_t)(bytes/ONE_MEGABYTE));