mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
Bug #2567: Fix reversed memset arguments. (David Krause)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/atidac.c,v 1.18 2003/02/25 17:58:13 tsi Exp $ */
|
||||
/*
|
||||
* Copyright 1997 through 2003 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org
|
||||
* Copyright 1997 through 2004 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
@@ -403,7 +403,7 @@ ATILoadPalette
|
||||
|
||||
CARD8 fChanged[SizeOf(pATI->NewHW.lut) / 3];
|
||||
|
||||
(void)memset(fChanged, SizeOf(fChanged), 0);
|
||||
(void)memset(fChanged, 0, SizeOf(fChanged));
|
||||
|
||||
minShift = redShift;
|
||||
if (minShift > greenShift)
|
||||
|
||||
Reference in New Issue
Block a user