From bbb88024ec31cec3be38f3ae9979dbdfb0d34b2a Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Sat, 22 Nov 2008 13:34:15 +0000 Subject: - make va_copy safer using () around arguments --- win32/build/config.w32.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/build/config.w32.h.in b/win32/build/config.w32.h.in index a22c902ac0..05f383b820 100644 --- a/win32/build/config.w32.h.in +++ b/win32/build/config.w32.h.in @@ -160,4 +160,4 @@ #endif #define HAVE_STDLIB_H 1 -#define va_copy(ap1, ap2) memcpy(&ap1, &ap2, sizeof(va_list)) +#define va_copy(ap1, ap2) memcpy((&ap1), (&ap2), sizeof(va_list)) -- cgit v1.2.1