We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69dd050 commit 01cb4a7Copy full SHA for 01cb4a7
1 file changed
Modules/selectmodule.c
@@ -1188,7 +1188,7 @@ newDevPollObject(PyObject *module)
1188
** allocate huge amounts of memory or even fail to allocate.
1189
*/
1190
out_size = limit.rlim_cur;
1191
- if (out_size > DEVPOLL_MAX_OUT_BUFFER_SIZE) {
+ if ((rlim_t)out_size > DEVPOLL_MAX_OUT_BUFFER_SIZE) {
1192
out_size = DEVPOLL_MAX_OUT_BUFFER_SIZE;
1193
}
1194
0 commit comments