summaryrefslogtreecommitdiff
path: root/gisi
diff options
context:
space:
mode:
authorAki Niemi <aki.niemi@nokia.com>2010-11-18 14:09:28 +0200
committerAki Niemi <aki.niemi@nokia.com>2010-12-22 17:13:47 +0200
commita2e434393dd3dffe4ed9b5f695f2e09ce17f956c (patch)
tree5148c1650c65e6433e6428182f0b67d7c66782dd /gisi
parentb8b1f6c9698a646ba316df29bf97f609e00a460f (diff)
gisi: Fix type mismatch
Diffstat (limited to 'gisi')
-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,