mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-12 20:53:48 +00:00
spicevmc: Avoid useless pointer cast
red_channel_client_handle_message already accepts a void* pointer. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Uri Lublin <uril@redhat.com>
This commit is contained in:
parent
35177a6c41
commit
71e1af9d8b
@ -574,7 +574,7 @@ static int spicevmc_red_channel_client_handle_message_parsed(RedChannelClient *r
|
||||
sif->event(channel->chardev_sin, *(uint8_t*)msg);
|
||||
break;
|
||||
default:
|
||||
return red_channel_client_handle_message(rcc, size, type, (uint8_t*)msg);
|
||||
return red_channel_client_handle_message(rcc, size, type, msg);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user