[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 01/23] vga: remove useless cast from void *
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 01/23] vga: remove useless cast from void * |
Date: |
Mon, 31 Aug 2009 16:07:11 +0200 |
Signed-off-by: Juan Quintela <address@hidden>
---
hw/vga.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/hw/vga.c b/hw/vga.c
index 6b5070a..7bfd8e9 100644
--- a/hw/vga.c
+++ b/hw/vga.c
@@ -1835,7 +1835,7 @@ static void vga_draw_blank(VGAState *s, int full_update)
static void vga_update_display(void *opaque)
{
- VGAState *s = (VGAState *)opaque;
+ VGAState *s = opaque;
int full_update, graphic_mode;
if (ds_get_bits_per_pixel(s->ds) == 0) {
@@ -1870,7 +1870,7 @@ static void vga_update_display(void *opaque)
/* force a full display refresh */
static void vga_invalidate_display(void *opaque)
{
- VGAState *s = (VGAState *)opaque;
+ VGAState *s = opaque;
s->full_update = 1;
}
@@ -1944,7 +1944,7 @@ void vga_common_reset(VGACommonState *s)
static void vga_reset(void *opaque)
{
- VGAState *s = (VGAState *) opaque;
+ VGAState *s = opaque;
vga_common_reset(s);
}
@@ -1956,7 +1956,7 @@ static void vga_reset(void *opaque)
* instead of doing a full vga_update_display() */
static void vga_update_text(void *opaque, console_ch_t *chardata)
{
- VGAState *s = (VGAState *) opaque;
+ VGAState *s = opaque;
int graphic_mode, i, cursor_offset, cursor_visible;
int cw, cheight, width, height, size, c_min, c_max;
uint32_t *src;
@@ -2628,7 +2628,7 @@ static DisplayChangeListener*
vga_screen_dump_init(DisplayState *ds)
available */
static void vga_screen_dump(void *opaque, const char *filename)
{
- VGAState *s = (VGAState *)opaque;
+ VGAState *s = opaque;
if (!screen_dump_dcl)
screen_dump_dcl = vga_screen_dump_init(s->ds);
--
1.6.2.5
- [Qemu-devel] [PATCH 00/23] VGA cleanup, Juan Quintela, 2009/08/31
- [Qemu-devel] [PATCH 01/23] vga: remove useless cast from void *,
Juan Quintela <=
- [Qemu-devel] [PATCH 02/23] cirrus_vga: prefix vga_ioport_{read, write} with cirrus, Juan Quintela, 2009/08/31
- [Qemu-devel] [PATCH 03/23] vga: export vga_ioport_{read,write}, Juan Quintela, 2009/08/31
- [Qemu-devel] [PATCH 04/23] vga: split vga_{load, save} into pci and common parts, Juan Quintela, 2009/08/31
- [Qemu-devel] [PATCH 05/23] vga: split pci bits into vga-pci.c, Juan Quintela, 2009/08/31
- [Qemu-devel] [PATCH 06/23] vga: split isa bits inco vga-isa.c, Juan Quintela, 2009/08/31
- [Qemu-devel] [PATCH 07/23] vga: export vga_mem_{read,write}, Juan Quintela, 2009/08/31
- [Qemu-devel] [PATCH 08/23] vga: split vga-isa-mm.o, Juan Quintela, 2009/08/31
- [Qemu-devel] [PATCH 09/23] vga and cirrus_vga: create vga_ioport_invalid() and use it everywhere, Juan Quintela, 2009/08/31
- [Qemu-devel] [PATCH 10/23] cirrus_vga: Add a VGACommonState local var to cirrus_vga_ioport_{read, write}, Juan Quintela, 2009/08/31
- [Qemu-devel] [PATCH 11/23] vga: change tabs to spaces, Juan Quintela, 2009/08/31