xo-indentlog: bugfix: + array size to satisfy compiler warning
This commit is contained in:
parent
86c6bbe806
commit
74eda2bc75
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ namespace xo {
|
|||
auto [t0_tm, t0_usec] = utc_split_tm(t0);
|
||||
|
||||
/* no std::format in clang11 afaict */
|
||||
char usec_buf[7];
|
||||
char usec_buf[8];
|
||||
snprintf(usec_buf, sizeof(usec_buf), "%06d", t0_usec);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue