[lemon] Use void* as generic pointer instead of char*.
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 <kibi@debian.org> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2846 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.32
parent
9c43331382
commit
b6757eaae5
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue