]> code.delx.au - pulseaudio/blobdiff - polyp/mainloop-test.c
Mega patch:
[pulseaudio] / polyp / mainloop-test.c
index 097ce1c799e0346996e44aa0ea0288e4bb22dacd..ee0f8711ab3835b6b827538afaf918a84d20c4ef 100644 (file)
@@ -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);