diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-20 17:05:16 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-20 17:05:16 +0000 |
commit | a00ec39b52224a40bf9a0a813b69cb43e14407a8 (patch) | |
tree | 9c7f790663515a52991c00acaf442aefae23ca3f /Nt32Pkg/Library | |
parent | e189fded67ad50140d2c8171aa38842767f5d42e (diff) | |
download | edk2-a00ec39b52224a40bf9a0a813b69cb43e14407a8.tar.gz edk2-a00ec39b52224a40bf9a0a813b69cb43e14407a8.tar.bz2 edk2-a00ec39b52224a40bf9a0a813b69cb43e14407a8.zip |
Fix ICC compatibility issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8616 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/Library')
-rw-r--r-- | Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c b/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c index 23c19017df..0991fc6b96 100644 --- a/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c +++ b/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.c @@ -159,6 +159,7 @@ AddModHandle ( PDB_NAME_TO_MOD_HANDLE *Array;
UINTN PreviousSize;
PDB_NAME_TO_MOD_HANDLE *TempArray;
+ HANDLE Handle;
Array = mPdbNameModHandleArray;
for (Index = 0; Index < mPdbNameModHandleArraySize; Index++, Array++) {
@@ -166,7 +167,8 @@ AddModHandle ( //
// Make a copy of the stirng and store the ModHandle
//
- Array->PdbPointer = mWinNt->HeapAlloc ( mWinNt->GetProcessHeap (),
+ Handle = mWinNt->GetProcessHeap ();
+ Array->PdbPointer = mWinNt->HeapAlloc ( Handle,
HEAP_ZERO_MEMORY,
AsciiStrLen (ImageContext->PdbPointer) + 1
);
|