Created
June 1, 2012 14:56
-
-
Save gerdr/2852706 to your computer and use it in GitHub Desktop.
fix va_list test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config/auto/va_ptr/test_c.in b/config/auto/va_ptr/test_c.in | |
index f8eb2d4..7dee557 100644 | |
--- a/config/auto/va_ptr/test_c.in | |
+++ b/config/auto/va_ptr/test_c.in | |
@@ -7,7 +7,7 @@ Copyright (C) 2005-2009, Parrot Foundation. | |
#include <stdarg.h> | |
#if defined VA_TYPE_REGISTER | |
-# define PARROT_VA_TO_VAPTR(x) (x) | |
+# define PARROT_VA_TO_VAPTR(x) ((va_list *)(x)) | |
#endif | |
#if defined VA_TYPE_STACK | |
# define PARROT_VA_TO_VAPTR(x) (&(x)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment