Skip to content

Commit

Permalink
Fix another bad cast syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
javidcf committed Nov 25, 2022
1 parent 40d9732 commit 80d7fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tk/tkImaging.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 80d7fa9

Please sign in to comment.