diff options
author | Adam Jackson <ajax@redhat.com> | 2008-10-06 15:36:51 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-10-06 15:36:51 -0400 |
commit | 8a5b89e8e184f4cbf33c6dee0b06e61d8f857576 (patch) | |
tree | b042833775d237a3971eae7a7192400e064ad50d /hw/xfree86/ramdac | |
parent | 0b7b89fbac0b3865b2cf51295c68a5f4c7523f28 (diff) |
xalloc+memset(0) -> xcalloc
Diffstat (limited to 'hw/xfree86/ramdac')
-rw-r--r-- | hw/xfree86/ramdac/xf86HWCurs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/ramdac/xf86HWCurs.c b/hw/xfree86/ramdac/xf86HWCurs.c index ea0523362..4374e51d4 100644 --- a/hw/xfree86/ramdac/xf86HWCurs.c +++ b/hw/xfree86/ramdac/xf86HWCurs.c @@ -255,7 +255,7 @@ RealizeCursorInterleave0(xf86CursorInfoPtr infoPtr, CursorPtr pCurs) DstM = (SCANLINE*)mem; if (!(infoPtr->Flags & HARDWARE_CURSOR_SWAP_SOURCE_AND_MASK)) DstM += words; - (void)memset(DstM, -1, words * sizeof(SCANLINE)); + memset(DstM, -1, words * sizeof(SCANLINE)); } return mem; } |