mydata->samples_counter += nb_to_send;
g_io_channel_write_chars(channels[1], (gchar *)&buf,
- nb_to_send, &bytes_written, NULL);
+ nb_to_send, (gsize *)&bytes_written, NULL);
g_usleep(mydata->loop_sleep);
}
uint64_t z;
/* Avoid compiler warnings. */
+ fd = fd;
revents = revents;
g_io_channel_read_chars(channels[0], (gchar *)&c, BUFSIZE, &z, NULL);