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

Thorsten Glaser t.glaser at tarent.de
Fri Oct 1 09:16:26 AEST 2021


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.

bye,
//mirabilos
-- 
15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)


More information about the openssh-unix-dev mailing list