Convert last SDL_IOReady()'s 2nd parameter to flags

Conversion missed in https://github.com/libsdl-org/SDL/pull/4897
This commit is contained in:
Mathieu Eyraud 2021-11-11 11:27:56 +01:00 committed by Sam Lantinga
parent 1c78b08007
commit 3090812e1e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}