summaryrefslogtreecommitdiffstats
path: root/ui/curses.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2022-08-19 17:39:25 +0200
committerPeter Maydell2022-09-22 17:38:28 +0200
commitc140a69055bad798a335ea3c83aebceaca82bde0 (patch)
tree641be2f5894872fb4dff75f8bf1a1bda10c92b30 /ui/curses.c
parentio/channel-websock: Replace strlen(const_str) by sizeof(const_str) - 1 (diff)
downloadqemu-c140a69055bad798a335ea3c83aebceaca82bde0.tar.gz
qemu-c140a69055bad798a335ea3c83aebceaca82bde0.tar.xz
qemu-c140a69055bad798a335ea3c83aebceaca82bde0.zip
hw/net/e1000e_core: Use definition to avoid dynamic stack allocation
The compiler isn't clever enough to figure 'min_buf_size' is a constant, so help it by using a definitions instead. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20220819153931.3147384-6-peter.maydell@linaro.org
Diffstat (limited to 'ui/curses.c')
0 files changed, 0 insertions, 0 deletions