MdeModulePkg: Variable add missing VA_COPY

Xcode fails to compile:
error: array type 'VA_LIST' (aka '__builtin_va_list') is not assignable

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Andrew Fish <afish@apple.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19419 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Andrew Fish 2015-12-18 10:11:25 +00:00 committed by lzeng14
parent 8873b174c7
commit b7789dc6b6
1 changed files with 2 additions and 2 deletions

View File

@ -1716,7 +1716,7 @@ CheckRemainingSpaceForConsistencyInternal (
ASSERT_EFI_ERROR (Status); ASSERT_EFI_ERROR (Status);
TotalNeededSize = 0; TotalNeededSize = 0;
Args = Marker; VA_COPY (Args, Marker);
VariableEntry = VA_ARG (Args, VARIABLE_ENTRY_CONSISTENCY *); VariableEntry = VA_ARG (Args, VARIABLE_ENTRY_CONSISTENCY *);
while (VariableEntry != NULL) { while (VariableEntry != NULL) {
// //
@ -1745,7 +1745,7 @@ CheckRemainingSpaceForConsistencyInternal (
return FALSE; return FALSE;
} }
Args = Marker; VA_COPY (Args, Marker);
VariableEntry = VA_ARG (Args, VARIABLE_ENTRY_CONSISTENCY *); VariableEntry = VA_ARG (Args, VARIABLE_ENTRY_CONSISTENCY *);
while (VariableEntry != NULL) { while (VariableEntry != NULL) {
// //