commit | 1b27d7a1e8609b2eeb6238f2c629eb82217523f6 | [log] [tgz] |
---|---|---|
author | Jes Sorensen <Jes.Sorensen@redhat.com> | Mon Aug 30 12:31:33 2010 +0200 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sat Sep 04 09:52:25 2010 +0000 |
tree | c296b1ef7ee545603c3b7c144d2bf194ca672dca | |
parent | 37a05af069e14d435fe8fb2cd8c7a8b2f16d137f [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>