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:
Robin Dunn
2019-05-20 20:46:26 -07:00
parent 882b764bef
commit ebf46524e5

View File

@@ -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