source: trunk/packages/xen-common/xen-common/tools/ioemu/patches/qemu-fix-memset-args @ 34

Last change on this file since 34 was 34, checked in by hartmans, 18 years ago

Add xen and xen-common

File size: 576 bytes
Line 
1Index: ioemu/audio/audio.c
2===================================================================
3--- ioemu.orig/audio/audio.c    2006-08-17 19:37:35.755591169 +0100
4+++ ioemu/audio/audio.c 2006-08-17 19:50:26.867166346 +0100
5@@ -605,11 +605,11 @@
6     }
7 
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;
Note: See TracBrowser for help on using the repository browser.