summaryrefslogtreecommitdiff
path: root/spice/controller_prot.h
diff options
context:
space:
mode:
Diffstat (limited to 'spice/controller_prot.h')
-rw-r--r--spice/controller_prot.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/spice/controller_prot.h b/spice/controller_prot.h
index bca7804..91dbe6f 100644
--- a/spice/controller_prot.h
+++ b/spice/controller_prot.h
@@ -18,10 +18,11 @@
#ifndef _H_CONTROLLER_PROT
#define _H_CONTROLLER_PROT
+#include <spice/macros.h>
#include <spice/types.h>
#include <spice/start-packed.h>
-#define CONTROLLER_MAGIC (*(uint32_t*)"CTRL")
+#define CONTROLLER_MAGIC SPICE_MAGIC_CONST("CTRL")
#define CONTROLLER_VERSION 1