mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
Using a bare 0 for NULLs added to a varargs call stack does not push enough bytes to be used as a pointer. Switch back to NULL for SIP_NULLPTR, which appears to be doing the right thing.
(cherry picked from commit efcd6a9f0d)
This commit is contained in:
@@ -303,7 +303,7 @@ typedef unsigned int uint;
|
||||
#else
|
||||
|
||||
/* Earlier versions of C++. */
|
||||
#define SIP_NULLPTR 0
|
||||
#define SIP_NULLPTR NULL
|
||||
#define SIP_OVERRIDE
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user