Re: [Qemu-devel] [PATCH] hw/audio/intel-hda: Avoid shift into sign bit
On Fr, 2014-05-09 at 14:22 +0100, Peter Maydell wrote: > Add a U suffix to avoid shifting into the sign bit (which is > undefined behaviour in C). Added to audio patch queue. thanks, Gerd
[Qemu-devel] [PATCH] hw/audio/intel-hda: Avoid shift into sign bit
Add a U suffix to avoid shifting into the sign bit (which is undefined behaviour in C). Signed-off-by: Peter Maydell --- Another one from clang's sanitizer... hw/audio/intel-hda.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/audio/intel-hda.c b/hw/audio/intel-hda.c