mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
Fix compiler warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4404 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
9800ee2677
commit
22548760ca
15 changed files with 104 additions and 121 deletions
4
hw/tcx.c
4
hw/tcx.c
|
@ -144,7 +144,7 @@ static inline void tcx24_draw_line32(TCXState *s1, uint8_t *d,
|
|||
}
|
||||
}
|
||||
|
||||
static inline int check_dirty(TCXState *ts, ram_addr_t page, ram_addr_t page24,
|
||||
static inline int check_dirty(ram_addr_t page, ram_addr_t page24,
|
||||
ram_addr_t cpage)
|
||||
{
|
||||
int ret;
|
||||
|
@ -279,7 +279,7 @@ static void tcx24_update_display(void *opaque)
|
|||
|
||||
for(y = 0; y < ts->height; y += 4, page += TARGET_PAGE_SIZE,
|
||||
page24 += TARGET_PAGE_SIZE, cpage += TARGET_PAGE_SIZE) {
|
||||
if (check_dirty(ts, page, page24, cpage)) {
|
||||
if (check_dirty(page, page24, cpage)) {
|
||||
if (y_start < 0)
|
||||
y_start = y;
|
||||
if (page < page_min)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue