[PATCH:libXTrap] Fix memset usage.

Rémi Cardona remi at gentoo.org
Thu Jul 19 23:40:26 PDT 2012


Le 18/07/2012 16:47, Thomas Klausner a écrit :
> -        (void)memset(tc,0L,sizeof(tc));
> +        (void)memset(tc,0L,sizeof(*tc));

I'd say you might as well drop the useless cast too.

Cheers,

Rémi


More information about the xorg-devel mailing list