diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-03-11 19:19:44 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-03-11 19:19:44 +0000 |
commit | 5bd4f5fafb3f58f6dcf7d13e9aef3706e8b20383 (patch) | |
tree | 66c07dd315e084574f382d5c8de5594aae071f74 /MdeModulePkg | |
parent | 344177857f854eeb76ed1c56c82a8eac703c1cde (diff) | |
download | edk2-platforms-5bd4f5fafb3f58f6dcf7d13e9aef3706e8b20383.tar.xz |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h b/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h index 94a99d9f90..4cc177d606 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
|