mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-10 21:03:51 +01:00
tests W32: Cast the MSG struct as (gchar *) for g_io_channel_read
This commit is contained in:
parent
ba62f9acd6
commit
12fe2cb7ea
@ -218,7 +218,7 @@ recv_windows_message (GIOChannel *channel,
|
|||||||
|
|
||||||
while (1)
|
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)
|
if (error != G_IO_ERROR_NONE)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user