vlc/vlc-3.0 | branch: master | Rémi Denis-Courmont <[email protected]> | Sat Nov 
17 21:31:14 2018 +0200| [2ce3ca11f070a3095f63149365af72b59f70d836] | committer: 
Steve Lhomme

vlc_fixup: pollfd.(r)events is short int

As per POSIX (and Winsock).

(cherry picked from commit 6c172726cb0146864edbb7703e3eb2979afea87c)
Signed-off-by: Steve Lhomme <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=2ce3ca11f070a3095f63149365af72b59f70d836
---

 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 239cad4d77..9b9d0087fe 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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to