[Spice-commits] spice/qxl_dev.h
Alon Levy
alon at kemper.freedesktop.org
Mon Apr 9 10:36:10 PDT 2012
spice/qxl_dev.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 8a20378425dff191845a209decb5c5eedb273799
Author: Alon Levy <alevy at redhat.com>
Date: Mon Apr 9 20:05:10 2012 +0300
qxl_dev: fix const cast warning for QXL_R[AO]M_MAGIC
diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index 5e6ce06..741a1f6 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -53,8 +53,8 @@ enum {
#define QXL_DEVICE_ID_DEVEL 0x01ff
#define QXL_REVISION_DEVEL 0x01
-#define QXL_ROM_MAGIC (*(uint32_t*)"QXRO")
-#define QXL_RAM_MAGIC (*(uint32_t*)"QXRA")
+#define QXL_ROM_MAGIC (*(const uint32_t*)"QXRO")
+#define QXL_RAM_MAGIC (*(const uint32_t*)"QXRA")
enum {
QXL_RAM_RANGE_INDEX,
More information about the Spice-commits
mailing list