summaryrefslogtreecommitdiff
path: root/source4/lib/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/events.c')
-rw-r--r--source4/lib/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/events.c b/source4/lib/events.c
index 85a2cee70f..50f3f53c94 100644
--- a/source4/lib/events.c
+++ b/source4/lib/events.c
@@ -357,7 +357,7 @@ int event_loop_wait(struct event_context *ev)
which ones and call the handler, being careful to allow
the handler to remove itself when called */
for (fe=ev->fd_events; fe; fe=fe->next) {
- uint16 flags = 0;
+ uint16_t flags = 0;
if (FD_ISSET(fe->fd, &r_fds)) flags |= EVENT_FD_READ;
if (FD_ISSET(fe->fd, &w_fds)) flags |= EVENT_FD_WRITE;
if (fe->ref_count && flags) {