Re: Unneeded compiler warning in glob.c

2017-12-19 Thread Adhemerval Zanella
On 15/12/2017 23:30, Paul Eggert wrote: > On 12/13/2017 01:38 AM, Tim Rühsen wrote: >> Here is a patch to silence this warning: >> >> glob.c: In function 'rpl_glob': >> glob.c:618:64: warning: pointer of type 'void *' used in arithmetic >> [-Wpointer-arith] >>     err = getpwn

Re: Unneeded compiler warning in glob.c

2017-12-15 Thread Paul Eggert
On 12/13/2017 01:38 AM, Tim Rühsen wrote: Here is a patch to silence this warning: glob.c: In function 'rpl_glob': glob.c:618:64: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] err = getpwnam_r (s.data, &pwbuf, s.data + ssize, With Best Regards,

Unneeded compiler warning in glob.c

2017-12-13 Thread Tim Rühsen
Here is a patch to silence this warning: glob.c: In function 'rpl_glob': glob.c:618:64: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] err = getpwnam_r (s.data, &pwbuf, s.data + ssize, With Best Regards, Tim From af192d3b675182c3944bfb14488942f4f55