quiet warnings
This commit is contained in:
@ -117,12 +117,12 @@ retry:
|
|||||||
}
|
}
|
||||||
PyErr_SetFromErrno(PyExc_OSError);
|
PyErr_SetFromErrno(PyExc_OSError);
|
||||||
goto fail;
|
goto fail;
|
||||||
} else if(ret<EVTMINSIZE) {
|
} else if((size_t)ret<EVTMINSIZE) {
|
||||||
PyErr_Format(PyExc_OSError, "The unthinkable has happened in INotify_read");
|
PyErr_Format(PyExc_OSError, "The unthinkable has happened in INotify_read");
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
while(ret>=EVTMINSIZE) {
|
while((size_t)ret>=EVTMINSIZE) {
|
||||||
PyObject *tuple;
|
PyObject *tuple;
|
||||||
struct inotify_event *evt=buf;
|
struct inotify_event *evt=buf;
|
||||||
ssize_t evtsize;
|
ssize_t evtsize;
|
||||||
|
Reference in New Issue
Block a user