libsudo_util: make more bit flags unsigned.

This commit is contained in:
Todd C. Miller
2023-07-10 11:06:04 -06:00
parent 9f7128fe83
commit 4f097eebd3
7 changed files with 36 additions and 17 deletions

View File

@@ -627,7 +627,7 @@ sudo_ev_dispatch_v1(struct sudo_event_base *base)
* Returns 0 on success, 1 if no events registered and -1 on error
*/
int
sudo_ev_loop_v1(struct sudo_event_base *base, int flags)
sudo_ev_loop_v1(struct sudo_event_base *base, unsigned int flags)
{
struct timespec now;
struct sudo_event *ev;