Fix compiler warning.

This commit is contained in:
Uwe Hermann 2011-01-18 00:08:11 +01:00
parent 32c0551ba6
commit 01bd1ed396
1 changed files with 2 additions and 1 deletions

View File

@ -283,7 +283,8 @@ static int receive_data(int fd, int revents, void *user_data)
fd = fd;
revents = revents;
g_io_channel_read_chars(channels[0], (gchar *)&c, BUFSIZE, &z, NULL);
g_io_channel_read_chars(channels[0], (gchar *)&c, BUFSIZE,
(gsize *)&z, NULL);
if (z > 0) {
packet.type = DF_LOGIC;