]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Set the type of return value from function 'LoadVariablesFromFile' in 'DmpStore.c...
authorShumin Qiu <shumin.qiu@intel.com>
Mon, 13 Jan 2014 07:28:01 +0000 (07:28 +0000)
committershenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 13 Jan 2014 07:28:01 +0000 (07:28 +0000)
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Ni, Ruiyu <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15102 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c

index 6332416c8815427adfe8a4e43c0d7c4ae63b6136..c5a6204bcdda7960c9014c2f9365c572a40ddaf3 100644 (file)
@@ -546,7 +546,7 @@ ProcessVariables (
   ZeroMem (&FoundVarGuid, sizeof(EFI_GUID));\r
 \r
   if (Type == DmpStoreLoad) {\r
-    ShellStatus = LoadVariablesFromFile (FileHandle, Name, Guid, &Found);\r
+    ShellStatus = (SHELL_STATUS) LoadVariablesFromFile (FileHandle, Name, Guid, &Found);\r
   } else {\r
     ShellStatus = CascadeProcessVariables(Name, Guid, Type, FileHandle, NULL, FoundVarGuid, &Found);\r
   }\r