mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Don't do < 0 on an unsigned value
It won't work. read() returns a signed value, anyway.
This commit is contained in:
parent
25a797fa25
commit
01e6cf1360
@ -42,7 +42,7 @@ watch_parent (gint fd)
|
||||
GPollFD fds[1];
|
||||
gint num_events;
|
||||
gchar buf[512];
|
||||
guint bytes_read;
|
||||
gssize bytes_read;
|
||||
GArray *buses_to_kill_array;
|
||||
|
||||
fds[0].fd = fd;
|
||||
|
Loading…
Reference in New Issue
Block a user