summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-04-09 20:05:10 +0300
committerAlon Levy <alevy@redhat.com>2012-04-09 20:05:10 +0300
commit8a20378425dff191845a209decb5c5eedb273799 (patch)
tree996caba9db7c1da3f073dd79d3c5166b52e1e2d9
parent2d24f61aae4f92746940fd1c0daf546c7a51dae8 (diff)
qxl_dev: fix const cast warning for QXL_R[AO]M_MAGIC
-rw-r--r--spice/qxl_dev.h4
1 files changed, 2 insertions, 2 deletions
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,