debuggers.hg

view tools/ioemu/patches/qemu-fix-memset-args @ 10968:cf00bca7c6e1

[qemu patches] Update patches for changeset 10929:4dd640c6ce57.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
author chris@kneesaa.uk.xensource.com
date Fri Aug 04 10:20:33 2006 +0100 (2006-08-04)
parents
children ec8dd0528fc6
line source
1 Index: ioemu/audio/audio.c
2 ===================================================================
3 --- ioemu.orig/audio/audio.c 2006-07-14 13:43:45.000000000 +0100
4 +++ ioemu/audio/audio.c 2006-08-04 10:18:17.243240246 +0100
5 @@ -597,11 +597,11 @@
6 }
8 if (info->sign) {
9 - memset (buf, len << info->shift, 0x00);
10 + memset (buf, 0x00, len << info->shift);
11 }
12 else {
13 if (info->bits == 8) {
14 - memset (buf, len << info->shift, 0x80);
15 + memset (buf, 0x80, len << info->shift);
16 }
17 else {
18 int i;