red_channel_client_handle_message already accepts a void* pointer. Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/spicevmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/spicevmc.c b/server/spicevmc.c index 0dc2b19..a92ec7f 100644 --- a/server/spicevmc.c +++ b/server/spicevmc.c @@ -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; -- 2.9.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel