Re: ldapd, fix warnings when compiling with gcc

2018-12-04 Thread Philip Guenther
On Tue, Dec 4, 2018 at 5:40 AM Claudio Jeker wrote: > Gcc is unhappy about the void * usage in printf: > search.c:325: warning: format '%s' expects type 'char *', but argument 2 > has type 'void *' > search.c:345: warning: format '%.*s' expects type 'char *', but argument 3 > has type 'void *' >

ldapd, fix warnings when compiling with gcc

2018-12-04 Thread Claudio Jeker
Gcc is unhappy about the void * usage in printf: search.c:325: warning: format '%s' expects type 'char *', but argument 2 has type 'void *' search.c:345: warning: format '%.*s' expects type 'char *', but argument 3 has type 'void *' search.c:365: warning: format '%s' expects type 'char *', but ar