mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-22 19:24:27 +00:00
9c4b5c4931
Increase the buf size such it can accomodate sufficiently large local buffers. Spotted whilst looking for something else. ../compositor/main.c:157:22: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size 128 [-Wformat-truncation=] 157 | snprintf(buf, len, "%s[%s.%03li]", datestr, | ^~ ~~~~~~~ ../compositor/main.c:157:21: note: directive argument in the range [-9223372036854775, 9223372036854775] 157 | snprintf(buf, len, "%s[%s.%03li]", datestr, | ^~~~~~~~~~~~~~ ../compositor/main.c:157:2: note: ‘snprintf’ output between 7 and 659 bytes into a destination of size 128 157 | snprintf(buf, len, "%s[%s.%03li]", datestr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 158 | timestr, (tv.tv_usec / 1000)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Marius Vlad <marius.vlad@collabora.com> |
||
---|---|---|
.. | ||
cms-colord.c | ||
cms-helper.c | ||
cms-helper.h | ||
cms-static.c | ||
executable.c | ||
main.c | ||
meson.build | ||
screen-share.c | ||
systemd-notify.c | ||
text-backend.c | ||
weston-screenshooter.c | ||
weston.desktop | ||
weston.h | ||
xwayland.c |