mirror of https://github.com/acidanthera/audk.git
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:
parent
8873b174c7
commit
b7789dc6b6
|
@ -1716,7 +1716,7 @@ CheckRemainingSpaceForConsistencyInternal (
|
|||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
TotalNeededSize = 0;
|
||||
Args = Marker;
|
||||
VA_COPY (Args, Marker);
|
||||
VariableEntry = VA_ARG (Args, VARIABLE_ENTRY_CONSISTENCY *);
|
||||
while (VariableEntry != NULL) {
|
||||
//
|
||||
|
@ -1745,7 +1745,7 @@ CheckRemainingSpaceForConsistencyInternal (
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
Args = Marker;
|
||||
VA_COPY (Args, Marker);
|
||||
VariableEntry = VA_ARG (Args, VARIABLE_ENTRY_CONSISTENCY *);
|
||||
while (VariableEntry != NULL) {
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue