diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-08-03 20:39:40 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-08-03 20:39:40 +0000 |
commit | e2f909bef950fa5aae9939fd917e7bd0c3b63042 (patch) | |
tree | 7b40227e076da7c727394808cfd3522621fc3471 | |
parent | 7f1a8398ab447c9ba2cc0e73935d7c97d6075053 (diff) | |
download | qemu-e2f909bef950fa5aae9939fd917e7bd0c3b63042.zip qemu-e2f909bef950fa5aae9939fd917e7bd0c3b63042.tar.gz qemu-e2f909bef950fa5aae9939fd917e7bd0c3b63042.tar.bz2 |
swapped memset args (Charles Coffing)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2081 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | audio/audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/audio.c b/audio/audio.c index 8e7af1a..556e6fd 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -605,11 +605,11 @@ void audio_pcm_info_clear_buf (struct audio_pcm_info *info, void *buf, int len) } if (info->sign) { - memset (buf, len << info->shift, 0x00); + memset (buf, 0x00, len << info->shift); } else { if (info->bits == 8) { - memset (buf, len << info->shift, 0x80); + memset (buf, 0x80, len << info->shift); } else { int i; |