summaryrefslogtreecommitdiffstats
path: root/polyp/mainloop-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/mainloop-test.c')
-rw-r--r--polyp/mainloop-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/mainloop-test.c b/polyp/mainloop-test.c
index 097ce1c7..ee0f8711 100644
--- a/polyp/mainloop-test.c
+++ b/polyp/mainloop-test.c
@@ -51,7 +51,7 @@ static GMainLoop* glib_main_loop = NULL;
static pa_defer_event *de;
-static void iocb(pa_mainloop_api*a, pa_io_event *e, int fd, pa_io_event_flags f, void *userdata) {
+static void iocb(pa_mainloop_api*a, pa_io_event *e, int fd, pa_io_event_flags_t f, void *userdata) {
unsigned char c;
read(fd, &c, sizeof(c));
fprintf(stderr, "IO EVENT: %c\n", c < 32 ? '.' : c);