From 80d7fa9004e35001a843a64f4accd0cb51e75813 Mon Sep 17 00:00:00 2001 From: Javier Dehesa Date: Fri, 25 Nov 2022 16:09:01 +0000 Subject: [PATCH] Fix another bad cast syntax --- src/Tk/tkImaging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tk/tkImaging.c b/src/Tk/tkImaging.c index 68afb988a4c..9b4b1d8f50c 100644 --- a/src/Tk/tkImaging.c +++ b/src/Tk/tkImaging.c @@ -365,7 +365,7 @@ load_tkinter_funcs(void) { } else if (found_tk != 1) { 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 */