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); }