mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Fix cast syntax
This commit is contained in:
parent
73b91f58d0
commit
40d9732a40
|
@ -332,7 +332,7 @@ load_tkinter_funcs(void) {
|
|||
PyErr_SetFromWindowsErr(0);
|
||||
return 1;
|
||||
}
|
||||
if (!(hMods = static_cast<HMODULE*>(malloc(cbNeeded)))) {
|
||||
if (!(hMods = (HMODULE*) malloc(cbNeeded))) {
|
||||
PyErr_NoMemory();
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user