hw/audio/intel-hda: Avoid shift into sign bit
commitb1fe60cd3525871a4c593ad8c2b39b89c19c00d0
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 9 May 2014 13:22:53 +0000 (9 14:22 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 20 May 2014 06:49:21 +0000 (20 08:49 +0200)
tree07c3912eb20610e28a3095ab4236739b41ab24b2
parenta2554a334a92db72547a8d15e9d00dc3d37dd3a1
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 <peter.maydell@linaro.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/audio/intel-hda.c