mirror of
https://github.com/mirror/wget.git
synced 2025-02-07 10:10:11 +08:00
* src/progress.c (eta_to_human_short): Silence -Wformat-overflow
This commit is contained in:
parent
8eda2da138
commit
21bb9d54cb
@ -1427,7 +1427,7 @@ progress_handle_sigwinch (int sig _GL_UNUSED)
|
||||
static const char *
|
||||
eta_to_human_short (int secs, bool condensed)
|
||||
{
|
||||
static char buf[10]; /* 8 should be enough, but just in case */
|
||||
static char buf[16]; /* enough space to be on the safe side */
|
||||
static int last = -1;
|
||||
const char *space = condensed ? "" : " ";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user