Commit 3090812e1e74f3b20207f2cf95bd0d973a7628e9

Mathieu Eyraud 2021-11-11T11:27:56

Convert last SDL_IOReady()'s 2nd parameter to flags Conversion missed in https://github.com/libsdl-org/SDL/pull/4897

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/core/linux/SDL_udev.c b/src/core/linux/SDL_udev.c
index e5a6630..b786f6f 100644
--- a/src/core/linux/SDL_udev.c
+++ b/src/core/linux/SDL_udev.c
@@ -103,7 +103,7 @@ SDL_UDEV_hotplug_update_available(void)
 {
     if (_this->udev_mon != NULL) {
         const int fd = _this->syms.udev_monitor_get_fd(_this->udev_mon);
-        if (SDL_IOReady(fd, SDL_FALSE, 0)) {
+        if (SDL_IOReady(fd, SDL_IOR_READ, 0)) {
             return SDL_TRUE;
         }
     }