summaryrefslogtreecommitdiffstats
path: root/polyp/iochannel.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/iochannel.c')
-rw-r--r--polyp/iochannel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/polyp/iochannel.c b/polyp/iochannel.c
index e6271319..273d47e0 100644
--- a/polyp/iochannel.c
+++ b/polyp/iochannel.c
@@ -55,7 +55,7 @@ static void enable_mainloop_sources(pa_iochannel *io) {
assert(io);
if (io->input_event == io->output_event && io->input_event) {
- pa_io_event_flags f = PA_IO_EVENT_NULL;
+ pa_io_event_flags_t f = PA_IO_EVENT_NULL;
assert(io->input_event);
if (!io->readable)
@@ -72,7 +72,7 @@ static void enable_mainloop_sources(pa_iochannel *io) {
}
}
-static void callback(pa_mainloop_api* m, pa_io_event *e, int fd, pa_io_event_flags f, void *userdata) {
+static void callback(pa_mainloop_api* m, pa_io_event *e, int fd, pa_io_event_flags_t f, void *userdata) {
pa_iochannel *io = userdata;
int changed = 0;