Reviewed-by: Marcin Baczyński <[email protected]>
W dniu 4 czerwca 2010 12:58 użytkownik Mikhail Gusarov <[email protected]> napisał: > > Twas brillig at 12:40:30 04.06.2010 UTC+02 when [email protected] did gyre > and gimble: > > >> - bzero ((char *) pmap->red, (int)sizebytes); > >> - bzero((char *) pmap->numPixelsRed, MAXCLIENTS * sizeof(int)); > >> + memset((char *) pmap->red, 0, (int)sizebytes); > >> + memset((char *) pmap->numPixelsRed, 0, MAXCLIENTS * sizeof(int)); > > MB> Aren't these char * casts superfluous? > > They are and they hide errors, but that's the topic for another cleanup > patch. > > -- > http://fossarchy.blogspot.com/ > _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
