[vlc-commits] vlc_fixup: pollfd.(r)events is short int
Rémi Denis-Courmont
git at videolan.org
Sun Nov 18 16:57:07 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov 17 21:31:14 2018 +0200| [6c172726cb0146864edbb7703e3eb2979afea87c] | committer: Rémi Denis-Courmont
vlc_fixup: pollfd.(r)events is short int
As per POSIX (and Winsock).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6c172726cb0146864edbb7703e3eb2979afea87c
---
include/vlc_fixups.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 598521c510..ad8f692271 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -406,8 +406,8 @@ enum
struct pollfd
{
int fd;
- unsigned events;
- unsigned revents;
+ short events;
+ short revents;
};
#endif
#ifndef HAVE_POLL
More information about the vlc-commits
mailing list