diff options
author | Adam Jackson <ajax@redhat.com> | 2008-10-06 14:19:30 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-10-06 14:19:30 -0400 |
commit | 0b7b89fbac0b3865b2cf51295c68a5f4c7523f28 (patch) | |
tree | cf24e95113974c482e0cc1bbb6be19c8b25879e7 /hw/xfree86/xaa/xaaNonTEText.c | |
parent | 9187f6ad9ec7ba9569a93d92561aac17eaa83491 (diff) |
xalloc+bzero -> xcalloc
Diffstat (limited to 'hw/xfree86/xaa/xaaNonTEText.c')
-rw-r--r-- | hw/xfree86/xaa/xaaNonTEText.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/xfree86/xaa/xaaNonTEText.c b/hw/xfree86/xaa/xaaNonTEText.c index d4661e879..d32c0bbc5 100644 --- a/hw/xfree86/xaa/xaaNonTEText.c +++ b/hw/xfree86/xaa/xaaNonTEText.c @@ -291,8 +291,7 @@ PolyGlyphBltAsSingleBitmap ( pitch = (Right - Left + 31) >> 5; size = (pitch << 2) * (Bottom - Top); - block = (CARD32*)xalloc(size); - bzero(block, size); + block = xcalloc(1, size); topLine = 10000; botLine = -10000; |