Fix compiler warning.
This commit is contained in:
parent
32c0551ba6
commit
01bd1ed396
|
@ -283,7 +283,8 @@ static int receive_data(int fd, int revents, void *user_data)
|
||||||
fd = fd;
|
fd = fd;
|
||||||
revents = revents;
|
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) {
|
if (z > 0) {
|
||||||
packet.type = DF_LOGIC;
|
packet.type = DF_LOGIC;
|
||||||
|
|
Loading…
Reference in New Issue