Re: [PATCH v2] drop some obsolete (char*) casts

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On 01 Oct 2021 01:16, Thorsten Glaser wrote:
> On Thu, 30 Sep 2021, Mike Frysinger wrote:
> 
> >  			homedir = percent_expand(cp, "d", user_pw->pw_dir,
> > -			    "u", user_pw->pw_name, "U", uidstr, (char *)NULL);
> > +			    "u", user_pw->pw_name, "U", uidstr, NULL);
> 
> This also has the sentinel attribute and therefore requires the/a cast.

of course it is.  the sftp.c file was the only one i was actually looking
at & testing, and the others i picked up with a grep.  thanks.
-mike

Attachment: signature.asc
Description: PGP signature

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux