Files
MINGW-packages/mingw-w64-python-glcontext/0001-workaround-for-clang.patch
2022-05-12 11:37:04 +05:30

12 lines
289 B
Diff

--- a/glcontext/wgl.cpp
+++ b/glcontext/wgl.cpp
@@ -312,7 +312,7 @@
PyType_Slot GLContext_slots[] = {
{Py_tp_methods, GLContext_methods},
{Py_tp_members, GLContext_members},
- {Py_tp_dealloc, GLContext_dealloc},
+ {Py_tp_dealloc, (void*)GLContext_dealloc},
{},
};