From 483b86b918fad5bfe8ecf3d4e2b6655a26e07d2d Mon Sep 17 00:00:00 2001 From: Shumin Qiu Date: Mon, 13 Jan 2014 07:28:01 +0000 Subject: Set the type of return value from function 'LoadVariablesFromFile' in 'DmpStore.c' to match the type of 'ShellStatus'. Signed-off-by: Shumin Qiu Reviewed-by: Ni, Ruiyu git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15102 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c') diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c index 6332416c88..c5a6204bcd 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c @@ -546,7 +546,7 @@ ProcessVariables ( ZeroMem (&FoundVarGuid, sizeof(EFI_GUID)); if (Type == DmpStoreLoad) { - ShellStatus = LoadVariablesFromFile (FileHandle, Name, Guid, &Found); + ShellStatus = (SHELL_STATUS) LoadVariablesFromFile (FileHandle, Name, Guid, &Found); } else { ShellStatus = CascadeProcessVariables(Name, Guid, Type, FileHandle, NULL, FoundVarGuid, &Found); } -- cgit v1.2.3