diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-02-18 16:42:11 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-02-18 16:42:11 +0000 |
commit | 32032cdc78097840b7e2685fdec11bc0816aa0ac (patch) | |
tree | a538dd97337fb52611a902ddefdc02c23bc6fce9 /src | |
parent | d5fadd6d86ae2a2f8c1bb55e36ab3d6d49649b46 (diff) |
Bug #2567: Fix reversed memset arguments. (David Krause)
Diffstat (limited to 'src')
-rw-r--r-- | src/atidac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atidac.c b/src/atidac.c index 1d3e943..bf3b403 100644 --- a/src/atidac.c +++ b/src/atidac.c @@ -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) |