Patchworkβ [12/18] Saner type for __builtin_va_list

login
register
about
Submitter Al Viro
Date 2009-03-09 07:12:08
Message ID <E1LgZei-0000xH-1z@ZenIV.linux.org.uk>
Download mbox | patch
Permalink /patch/10630/
State New
Headers show

Comments

Al Viro - 2009-03-09 07:12:08
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 parse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/parse.c b/parse.c
index a9156c9..04a4227 100644
--- a/parse.c
+++ b/parse.c
@@ -232,7 +232,7 @@  static struct init_keyword {
 		.op = &spec_op },
 
 	/* Predeclared types */
-	{ "__builtin_va_list", NS_TYPEDEF, .type = &int_type, .op = &spec_op },
+	{ "__builtin_va_list", NS_TYPEDEF, .type = &ptr_ctype, .op = &spec_op },
 
 	/* Extended types */
 	{ "typeof", 	NS_TYPEDEF, .op = &typeof_op },