[Qemu-devel] [PATCH 06/15] Use range_covers_byte

2010-09-10 Thread Blue Swirl
Use range_covers_byte() instead of comparisons. This avoids some warnings with GCC flag -Wtype-limits. Signed-off-by: Blue Swirl --- hw/omap1.c | 14 -- hw/sm501.c |5 +++-- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/hw/omap1.c b/hw/omap1.c index 1ee5514..

[Qemu-devel] [PATCH 06/15] Use range_covers_byte

2010-09-05 Thread Blue Swirl
Use range_covers_byte() instead of comparisons. This also fixes some warnings with GCC flag -Wtype-limits. Signed-off-by: Blue Swirl --- hw/omap1.c | 21 +++-- hw/sm501.c |5 +++-- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/hw/omap1.c b/hw/omap1.c inde