From 32032cdc78097840b7e2685fdec11bc0816aa0ac Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 18 Feb 2005 16:42:11 +0000 Subject: Bug #2567: Fix reversed memset arguments. (David Krause) --- src/atidac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) -- cgit v1.2.3