Fix another bad cast syntax

This commit is contained in:
Javier Dehesa 2022-11-25 16:09:01 +00:00 committed by GitHub
parent 40d9732a40
commit 80d7fa9004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -365,7 +365,7 @@ exit:
} else if (found_tk != 1) { } else if (found_tk != 1) {
PyErr_SetString(PyExc_RuntimeError, "Could not find Tk routines"); PyErr_SetString(PyExc_RuntimeError, "Could not find Tk routines");
} }
return int((found_tcl != 1) && (found_tk != 1)); return (int) ((found_tcl != 1) && (found_tk != 1));
} }
#else /* not Windows */ #else /* not Windows */