From 5bd4f5fafb3f58f6dcf7d13e9aef3706e8b20383 Mon Sep 17 00:00:00 2001 From: jljusten Date: Tue, 11 Mar 2008 19:19:44 +0000 Subject: [PATCH] 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 --- .../Universal/BdsDxe/BootMaint/BootMaint.h | 14 +++++++------- 1 file 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