wxPython4: fix build failure
This commit is contained in:
parent
5d65e64bad
commit
99c7e72ff8
11
srcpkgs/wxPython4/patches/nullptr-cast.patch
Normal file
11
srcpkgs/wxPython4/patches/nullptr-cast.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/sip/cpp/sip_propgridwxPGPropArgCls.cpp
|
||||||
|
+++ b/sip/cpp/sip_propgridwxPGPropArgCls.cpp
|
||||||
|
@@ -317,7 +317,7 @@ static int convertTo_wxPGPropArgCls(PyOb
|
||||||
|
return sipGetState(sipTransferObj);
|
||||||
|
}
|
||||||
|
else if (sipPy == Py_None) {
|
||||||
|
- *sipCppPtr = new wxPGPropArgCls(reinterpret_cast< wxPGProperty * >(NULL));
|
||||||
|
+ *sipCppPtr = new wxPGPropArgCls(static_cast< wxPGProperty * >(NULL));
|
||||||
|
return sipGetState(sipTransferObj);
|
||||||
|
}
|
||||||
|
else {
|
||||||
Loading…
x
Reference in New Issue
Block a user