Browse Source

[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
svn/tags/lighttpd-1.4.32
Cyril Brulebois 10 years ago
committed by Stefan Bühler
parent
commit
b6757eaae5
  1. 2
      src/lemon.c

2
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();

Loading…
Cancel
Save