diff options
author | Andrew Fish <afish@apple.com> | 2015-12-18 10:11:25 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@Edk2> | 2015-12-18 10:11:25 +0000 |
commit | b7789dc6b6c49c39bf2c681c236f454e5e653487 (patch) | |
tree | c2c04febe3edd2837857c924d452a0d6edaa4d0c /MdeModulePkg/Universal | |
parent | 8873b174c7de6994fcfc1f4d53b1af08841607c4 (diff) | |
download | edk2-platforms-b7789dc6b6c49c39bf2c681c236f454e5e653487.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c index 621ce16da0..8a07f0ecb6 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c @@ -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) {
//
|