Use range_covers_byte
commit45416789e8ccced568a4984af61974adfbfa0f62
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 18 Sep 2010 05:53:14 +0000 (18 05:53 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 18 Sep 2010 05:53:14 +0000 (18 05:53 +0000)
tree1d1a9df1f1f6170945b889b9fc6528d41b65bbf7
parentbf1b00712375bea65f2254dea8281fa646eebbd5
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