diff options
Diffstat (limited to 'env_universal_common.cpp')
-rw-r--r-- | env_universal_common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env_universal_common.cpp b/env_universal_common.cpp index 78c2515f..e726e4c4 100644 --- a/env_universal_common.cpp +++ b/env_universal_common.cpp @@ -1665,7 +1665,7 @@ public: { struct inotify_event evt = {}; ssize_t read_amt = read(watch_fd, &evt, sizeof evt); - if (read_amt >= sizeof evt) + if (read_amt >= (ssize_t)sizeof evt) { if (evt.mask & (IN_DELETE_SELF | IN_MOVE_SELF)) { |