X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fprogress.c;h=9ff2f9836be49ba1c2c7f26cbf81455056a35436;hp=33ccb7c9c465e358fc691ca50ee9f5c7753ae6de;hb=489452a23a072949937733016062fcf5a16fce72;hpb=261183c6092a33a785cc2c6e60447845ce48da12 diff --git a/src/progress.c b/src/progress.c index 33ccb7c9..9ff2f983 100644 --- a/src/progress.c +++ b/src/progress.c @@ -50,7 +50,7 @@ so, delete this exception statement from your version. */ #include "retr.h" struct progress_implementation { - char *name; + const char *name; int interactive; void *(*create) PARAMS ((long, long)); void (*update) PARAMS ((void *, long, double)); @@ -834,7 +834,7 @@ create_image (struct bar_progress *bp, double dl_total_time) /* " 1012.45K/s" */ if (hist->total_time && hist->total_bytes) { - static char *short_units[] = { "B/s", "K/s", "M/s", "G/s" }; + static const char *short_units[] = { "B/s", "K/s", "M/s", "G/s" }; int units = 0; /* Calculate the download speed using the history ring and recent data that hasn't made it to the ring yet. */