From ebf46524e51b0edb999818dd1b23278103477ef3 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 20 May 2019 20:46:26 -0700 Subject: [PATCH] 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 efcd6a9f0d0b64c793416d91c168033363533ced) --- sip/siplib/sip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sip/siplib/sip.h b/sip/siplib/sip.h index 2eb4cb43..09d2ab67 100644 --- a/sip/siplib/sip.h +++ b/sip/siplib/sip.h @@ -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