mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 05:39:55 +00:00
We were returning `int`s from two functions that caused `ErrorOr` to not recognize the error codes as a special case. For example, `ETIMEDOUT` was returned as the positive number 66 resulting in all kinds of defective behavior. As a result, SDL2's timer subsystem was not working at all, since the `SDL_MUTEX_TIMEDOUT` value was never returned.
9.5 KiB
9.5 KiB