[vlc-commits] vlc_fixup: pollfd.(r)events is short int

Rémi Denis-Courmont git at videolan.org
Thu Jun 18 18:31:28 CEST 2020


vlc/vlc-3.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | 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 <robux4 at ycbcr.xyz>

> 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



More information about the vlc-commits mailing list