diff options
author | Adam Jackson <ajax@nwnk.net> | 2006-03-29 01:05:09 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2006-03-29 01:05:09 +0000 |
commit | ff6f88348c7498e83b0b143ef3737fd6eb0995e4 (patch) | |
tree | fbef3700d3e1230292cd814fc7f313613fb4b6ab /hw/xfree86/xf8_32bpp | |
parent | 52d9ce7f4fc599d30dec2e61fc1720597043d91c (diff) |
More warning cleanup.
Diffstat (limited to 'hw/xfree86/xf8_32bpp')
-rw-r--r-- | hw/xfree86/xf8_32bpp/cfbimage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/xfree86/xf8_32bpp/cfbimage.c b/hw/xfree86/xf8_32bpp/cfbimage.c index 8220636a1..629d6bf6a 100644 --- a/hw/xfree86/xf8_32bpp/cfbimage.c +++ b/hw/xfree86/xf8_32bpp/cfbimage.c @@ -5,6 +5,7 @@ #endif #include <stdlib.h> +#include <string.h> #include <X11/X.h> #include "windowstr.h" @@ -60,7 +61,7 @@ cfb8_32GetImage ( if (!pPixmap) return; if ((planemask & 0xff) != 0xff) - bzero((char *)pdstLine, pPixmap->devKind * h); + memset((char *)pdstLine, 0, pPixmap->devKind * h); ptSrc.x = sx + pDraw->x; ptSrc.y = sy + pDraw->y; box.x1 = 0; |