summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gisi/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gisi/message.c b/gisi/message.c
index 91c5a559..9284d597 100644
--- a/gisi/message.c
+++ b/gisi/message.c
@@ -85,7 +85,7 @@ size_t g_isi_msg_data_len(const GIsiMessage *msg)
const void *g_isi_msg_data(const GIsiMessage *msg)
{
- return msg && msg->data ? msg->data + 2 : NULL;
+ return msg && msg->data ? (void *)msg->data + 2 : NULL;
}
gboolean g_isi_msg_data_get_byte(const GIsiMessage *msg, unsigned offset,