summaryrefslogtreecommitdiffstats
path: root/spice/foreign_menu_prot.h
diff options
context:
space:
mode:
Diffstat (limited to 'spice/foreign_menu_prot.h')
-rw-r--r--spice/foreign_menu_prot.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/spice/foreign_menu_prot.h b/spice/foreign_menu_prot.h
index f478e2a..2ee2552 100644
--- a/spice/foreign_menu_prot.h
+++ b/spice/foreign_menu_prot.h
@@ -18,10 +18,11 @@
#ifndef _H_FOREIGN_MENU_PROT
#define _H_FOREIGN_MENU_PROT
+#include <spice/macros.h>
#include <spice/types.h>
#include <spice/start-packed.h>
-#define FOREIGN_MENU_MAGIC (*(uint32_t*)"FRGM")
+#define FOREIGN_MENU_MAGIC SPICE_MAGIC_CONST("FRGM")
#define FOREIGN_MENU_VERSION 1
typedef struct SPICE_ATTR_PACKED FrgMenuInitHeader {