diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2010-08-30 12:31:33 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-10-11 16:34:30 -0500 |
commit | d3c5b2e6703869bb86639b29102df82380cc2d63 (patch) | |
tree | 8999aca88b820d717fbe2a5f999a157323ba3969 /hw/gus.c | |
parent | a385adb70e848d15262f54bf12bdb33413a631f9 (diff) |
hw/ivshmem.c don't check for negative values on unsigned data types
There is no need to check for dest < 0 or vector >= 0 as both are
uint16_t.
This should fix problems with broken build with aggressive compiler
flags. Reported by Xudong Hao <xudong.hao@intel.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Acked-by: Cam Macdonell <cam@cs.ualberta.ca>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
(cherry picked from commit 1b27d7a1e8609b2eeb6238f2c629eb82217523f6)
Diffstat (limited to 'hw/gus.c')
0 files changed, 0 insertions, 0 deletions