[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] The arguments to memset are ordered incorrectly in the
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID c4ae9456a4595f046f08aea2f2e7b3664b50ab82 # Parent 911b6d8cd6669b12d16edfd05b2ebfe1216e1d1e The arguments to memset are ordered incorrectly in the pcm_hw_clear function of audio.c. Signed-off-by: Charles Coffing <ccoffing@xxxxxxxxxx> diff -r 911b6d8cd666 -r c4ae9456a459 tools/ioemu/audio/audio.c --- a/tools/ioemu/audio/audio.c Thu Jan 19 19:11:09 2006 +++ b/tools/ioemu/audio/audio.c Fri Jan 20 19:31:09 2006 @@ -257,11 +257,11 @@ switch (hw->fmt) { case AUD_FMT_S16: case AUD_FMT_S8: - memset (buf, len << hw->shift, 0x00); + memset (buf, 0x00, len << hw->shift); break; case AUD_FMT_U8: - memset (buf, len << hw->shift, 0x80); + memset (buf, 0x80, len << hw->shift); break; case AUD_FMT_U16: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |