From ebb53882650b160fead9a3855106a81688622459 Mon Sep 17 00:00:00 2001 From: ruang Date: Tue, 24 Sep 2024 19:13:26 +0800 Subject: [PATCH] Change posixmodule.c --- Modules/posixmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index d367c5f084d9fa..d44b06d350d87c 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -4228,7 +4228,7 @@ Return the maximum number of files a process can have open. static PyObject * os_getdtablesize_impl(PyObject *module) { - PyObject *size; + int size; size = getdtablesize(); return PyLong_FromLong(size);