summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-11 19:19:44 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-11 19:19:44 +0000
commit5bd4f5fafb3f58f6dcf7d13e9aef3706e8b20383 (patch)
tree66c07dd315e084574f382d5c8de5594aae071f74
parent344177857f854eeb76ed1c56c82a8eac703c1cde (diff)
downloadedk2-5bd4f5fafb3f58f6dcf7d13e9aef3706e8b20383.zip
edk2-5bd4f5fafb3f58f6dcf7d13e9aef3706e8b20383.tar.gz
edk2-5bd4f5fafb3f58f6dcf7d13e9aef3706e8b20383.tar.bz2
edk2/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h:
Resolve gcc warning (does not like multi-character constants such as 'menu'.) Instead use the EFI_SIGNATURE_32 macro. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4837 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h b/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h
index 94a99d9..4cc177d 100644
--- a/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h
+++ b/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h
@@ -167,13 +167,13 @@ typedef enum {
//
// All of the signatures that will be used in list structure
//
-#define BM_MENU_OPTION_SIGNATURE 'menu'
-#define BM_LOAD_OPTION_SIGNATURE 'load'
-#define BM_CONSOLE_OPTION_SIGNATURE 'cnsl'
-#define BM_FILE_OPTION_SIGNATURE 'file'
-#define BM_HANDLE_OPTION_SIGNATURE 'hndl'
-#define BM_TERMINAL_OPTION_SIGNATURE 'trml'
-#define BM_MENU_ENTRY_SIGNATURE 'entr'
+#define BM_MENU_OPTION_SIGNATURE EFI_SIGNATURE_32 ('m', 'e', 'n', 'u')
+#define BM_LOAD_OPTION_SIGNATURE EFI_SIGNATURE_32 ('l', 'o', 'a', 'd')
+#define BM_CONSOLE_OPTION_SIGNATURE EFI_SIGNATURE_32 ('c', 'n', 's', 'l')
+#define BM_FILE_OPTION_SIGNATURE EFI_SIGNATURE_32 ('f', 'i', 'l', 'e')
+#define BM_HANDLE_OPTION_SIGNATURE EFI_SIGNATURE_32 ('h', 'n', 'd', 'l')
+#define BM_TERMINAL_OPTION_SIGNATURE EFI_SIGNATURE_32 ('t', 'r', 'm', 'l')
+#define BM_MENU_ENTRY_SIGNATURE EFI_SIGNATURE_32 ('e', 'n', 't', 'r')
#define BM_LOAD_CONTEXT_SELECT 0x0
#define BM_CONSOLE_CONTEXT_SELECT 0x1