CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2015/01/23 06:18:40

Modified files:
        usr.bin/make   : compat.c dir.c direxpand.c dump.c engine.c 
                         for.c main.c make.c parse.c suff.c 
                         varmodifiers.c 

Log message:
remove a bunch of dangerous casts (useless casts from void * to something
else, in some cases by adding extra temporary variables.
IMO, it's much better practice to do

void *a;
int *p = a;
*p = 42;

rather than
void *a;
*(int *)a = 42;

okay miod@... to be revisited for some possible const additions later.

Reply via email to