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 ef1bcc5a04
commit 3cdce16668

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)
{