tests W32: Cast the MSG struct as (gchar *) for g_io_channel_read

This commit is contained in:
Руслан Ижбулатов 2018-09-20 05:17:02 +00:00 committed by Xavier Claessens
parent ba62f9acd6
commit 12fe2cb7ea

View File

@ -218,7 +218,7 @@ recv_windows_message (GIOChannel *channel,
while (1)
{
error = g_io_channel_read (channel, &msg, sizeof (MSG), &nb);
error = g_io_channel_read (channel, (gchar *) &msg, sizeof (MSG), &nb);
if (error != G_IO_ERROR_NONE)
{