mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
tests W32: Cast the MSG struct as (gchar *) for g_io_channel_read
This commit is contained in:
parent
ef1bcc5a04
commit
3cdce16668
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user