aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-22 08:56:53 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-22 08:56:53 +0000
commit82e197072bfe5d1641a505874618a52408c2280b (patch)
tree088d0dde825b2200e3120e20dced36468c2294f5 /render.c
parentci: sr.ht: run a codespell task at the end (diff)
config: don't pass -1 to mbstowcs(), silences linker(?) warning
'n' _is_ ignored when 'dest' is NULL, but you can still get the following warning: In function ‘mbstowcs’, inlined from ‘parse_section_scrollback’ at ../config.c:429:26: /usr/include/bits/stdlib.h:129:10: warning: ‘__mbstowcs_alias’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 129 | return __mbstowcs_alias (__dst, __src, __len); To silence this warning, pass 0 instead, since it is ignored anyway.
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions