[glib: 4/11] tests W32: Cast the MSG struct as (gchar *) for g_io_channel_read
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 4/11] tests W32: Cast the MSG struct as (gchar *) for g_io_channel_read
- Date: Fri, 21 Sep 2018 13:19:04 +0000 (UTC)
commit 3cdce166688293f059f8004380aa72ce5fc202e5
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Thu Sep 20 05:17:02 2018 +0000
tests W32: Cast the MSG struct as (gchar *) for g_io_channel_read
tests/gio-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/gio-test.c b/tests/gio-test.c
index 22ae77cff..c9523fba2 100644
--- a/tests/gio-test.c
+++ b/tests/gio-test.c
@@ -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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]