12 lines
353 B
Diff
12 lines
353 B
Diff
--- lib/progress.c
|
|
+++ lib/progress.c
|
|
@@ -68,7 +68,7 @@
|
|
Add suffix k, M, G when suitable... */
|
|
static char *max5data(curl_off_t bytes, char *max5)
|
|
{
|
|
-#define ONE_KILOBYTE 1024
|
|
+#define ONE_KILOBYTE 1024LL
|
|
#define ONE_MEGABYTE (1024* ONE_KILOBYTE)
|
|
#define ONE_GIGABYTE (1024* ONE_MEGABYTE)
|
|
#define ONE_TERRABYTE ((curl_off_t)1024* ONE_GIGABYTE)
|