summaryrefslogtreecommitdiff
path: root/lib/progress.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-03-08 12:30:56 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-03-11 10:11:56 +0100
commit78f642ffab9a703bb23e4d9ddb1abe582f14eb62 (patch)
tree8b2d24c24f34dc1968dedcb612f81349960d4ce7 /lib/progress.c
parent6043dfa4f9471cf4f5da2492670aff26b16a94ab (diff)
downloadcurl-78f642ffab9a703bb23e4d9ddb1abe582f14eb62.tar.gz
config: remove CURL_SIZEOF_CURL_OFF_T use only SIZEOF_CURL_OFF_T
Make the code consistently use a single name for the size of the "curl_off_t" type. Closes #6702
Diffstat (limited to 'lib/progress.c')
-rw-r--r--lib/progress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/progress.c b/lib/progress.c
index 55e8ded04..812c16b9a 100644
--- a/lib/progress.c
+++ b/lib/progress.c
@@ -85,7 +85,7 @@ static char *max5data(curl_off_t bytes, char *max5)
CURL_FORMAT_CURL_OFF_T "M", bytes/ONE_MEGABYTE,
(bytes%ONE_MEGABYTE) / (ONE_MEGABYTE/CURL_OFF_T_C(10)) );
-#if (CURL_SIZEOF_CURL_OFF_T > 4)
+#if (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 */