mirror of
https://github.com/djcb/mu.git
synced 2024-06-30 08:01:07 +02:00
Merge pull request #1672 from krietvel/strftime-fix
mu-store: enlarge buffer for strftime
This commit is contained in:
commit
396368d1ad
|
@ -1408,7 +1408,7 @@ mu_store_print_info (const MuStore *store, gboolean nocolor)
|
||||||
|
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wformat-y2k"
|
#pragma GCC diagnostic ignored "-Wformat-y2k"
|
||||||
char tbuf[32];
|
char tbuf[64];
|
||||||
strftime (tbuf, sizeof(tbuf), "%c", tstamp);
|
strftime (tbuf, sizeof(tbuf), "%c", tstamp);
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user