|
From: | Paul Eggert |
Subject: | Re: Unneeded compiler warning in glob.c |
Date: | Fri, 15 Dec 2017 17:30:52 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
On 12/13/2017 01:38 AM, Tim Rühsen wrote:
Thanks, I tweaked it slightly to avoid inserting a cast (as it's better to avoid casts when it's easy), and installed the attached patch into Gnulib, in your name. I'll CC: Adhemerval as this should go into glibc too, at some point.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
0001-glob.c-Silence-warning-about-void-pointer-arithmetic.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |