« Previous | Next » 

Revision 1b27d7a1

ID1b27d7a1e8609b2eeb6238f2c629eb82217523f6

Added by Jes Sorensen over 13 years ago

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 <>

Signed-off-by: Jes Sorensen <>
Acked-by: Cam Macdonell <>
Signed-off-by: Blue Swirl <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences