On Sat, 09 May 2026 19:34:37 +0900, Akihiko Odaki
<[email protected]> wrote:
> diff --git a/ui/vnc.c b/ui/vnc.c
> index 940dae1a001..8ad24f82f77 100644
> --- a/ui/vnc.c
> +++ b/ui/vnc.c
> @@ -1805,13 +1806,10 @@ static void pointer_event(VncState *vs, int
> button_mask, int x, int y)
> qemu_input_event_sync();
> }
>
> -static void press_key(VncState *vs, QKeyCode qcode)
> +static void press_key(VncState *vs, QKeyCode lnx)
Should be:
static void press_key(VncState *vs, unsigned int lnx)
> @@ -1852,15 +1850,15 @@ static void kbd_leds(void *opaque, int ledstate)
>
> static void do_key_event(VncState *vs, int down, int keycode, int sym)
> {
> - QKeyCode qcode = qemu_input_key_number_to_qcode(keycode);
> + QKeyCode lnx = qemu_input_key_number_to_linux(keycode);
Should be:
unsigned int lnx = qemu_input_key_number_to_linux(keycode);
--
Marc-André Lureau <[email protected]>