Use range_covers_byte
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 18 Sep 2010 05:53:14 +0000 (05:53 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 18 Sep 2010 05:53:14 +0000 (05:53 +0000)
commitdfee3e85773c893b576be0c968290fd218fb8a24
tree1d1a9df1f1f6170945b889b9fc6528d41b65bbf7
parent20b34a0614934bcddfe4dbfd90506935a9fd095d
Use range_covers_byte

Use range_covers_byte() instead of comparisons.

This avoids some warnings with GCC flag -Wtype-limits.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/omap1.c
hw/sm501.c