diff options
author | Cyril Brulebois <kibi@debian.org> | 2012-08-31 14:11:45 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2012-08-31 14:11:45 +0000 |
commit | b6757eaae52d202ca2e11140f46f7a825c0cbb40 (patch) | |
tree | 8efd88debcc80d0afa48d1579882bc7a7e17b31a /src | |
parent | 9c433313828fca7a0d3aa2771650bc2a72095615 (diff) | |
download | lighttpd-git-b6757eaae52d202ca2e11140f46f7a825c0cbb40.tar.gz |
[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-c4023f1b3aa9
Diffstat (limited to 'src')
-rw-r--r-- | src/lemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |