summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-02-18 16:42:11 +0000
committerAdam Jackson <ajax@nwnk.net>2005-02-18 16:42:11 +0000
commit32032cdc78097840b7e2685fdec11bc0816aa0ac (patch)
treea538dd97337fb52611a902ddefdc02c23bc6fce9
parentd5fadd6d86ae2a2f8c1bb55e36ab3d6d49649b46 (diff)
Bug #2567: Fix reversed memset arguments. (David Krause)
-rw-r--r--src/atidac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atidac.c b/src/atidac.c
index 1d3e943b..bf3b4034 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)