From b6757eaae52d202ca2e11140f46f7a825c0cbb40 Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Fri, 31 Aug 2012 14:11:45 +0000 Subject: [PATCH] [lemon] Use void* as generic pointer instead of char*. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Action_add() takes a char* as last parameter, which leads clang to emit warnings about incompatible pointer types: lemon.c:838:34: […] 'struct state *' to parameter of type 'char *' lemon.c:939:57: […] 'struct rule *' to parameter of type 'char *' Signed-off-by: Cyril Brulebois git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2846 152afb58-edef-0310-8abb-c4023f1b3aa9 --- src/lemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lemon.c b/src/lemon.c index 1fd6a255..c3d72eba 100644 --- a/src/lemon.c +++ b/src/lemon.c @@ -404,7 +404,7 @@ void Action_add(app,type,sp,arg) struct action **app; enum e_action type; struct symbol *sp; -char *arg; +void *arg; { struct action *new; new = Action_new();