Patch: Silence a warning by casting one type of const to another ...
Stefan (metze) Metzmacher
metze at samba.org
Mon Nov 10 04:42:09 MST 2014
a lot of warnings (like this one) are already fixed in my
master4-picky branch, see:
They just need to be reviewed and pushed.
Am 09.11.2014 um 19:29 schrieb Richard Sharpe:
> Hi folks,
> In my recent build I saw this error (among others):
> [ 724/4070] Compiling lib/texpect/texpect.c
> ../lib/texpect/texpect.c: In function ‘main’:
> ../lib/texpect/texpect.c:392:15: warning: assignment from incompatible
> pointer type [enabled by default]
> program_args = poptGetArgs(pc);
> The attached patch quietens this error by declaring program_args as
> the type that poptGetArgs returns and casts it to what execvp wants.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: OpenPGP digital signature
More information about the samba-technical