[Spice-devel] [xf86-video-qxl warnings 4/6] Eliminate a printf format warning on 32 bit systems.
Jeremy White
jwhite at codeweavers.com
Thu Mar 21 09:23:14 PDT 2013
Signed-off-by: Jeremy White <jwhite at codeweavers.com>
---
src/spiceqxl_io_port.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/spiceqxl_io_port.c b/src/spiceqxl_io_port.c
index 9d92f93..f570041 100644
--- a/src/spiceqxl_io_port.c
+++ b/src/spiceqxl_io_port.c
@@ -186,8 +186,8 @@ static void qxl_set_mode(qxl_screen_t *qxl, int modenr)
.mem = devmem + qxl->shadow_rom.draw_area_offset,
};
- dprint(1, "%s: mode %d [ %d x %d @ %d bpp devmem 0x%lx ]\n", __FUNCTION__,
- modenr, mode->x_res, mode->y_res, mode->bits, devmem);
+ dprint(1, "%s: mode %d [ %d x %d @ %d bpp devmem 0x%llx ]\n", __FUNCTION__,
+ modenr, mode->x_res, mode->y_res, mode->bits, (unsigned long long) devmem);
qxl_hard_reset(qxl);
qxl->guest_primary.surface = surface;
--
1.7.10.4
More information about the Spice-devel
mailing list