diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-09 05:28:47 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-09 05:28:47 +0000 |
commit | 2b1532df6dca854ffb2d753f74d110400ccdbe22 (patch) | |
tree | 01e54c73fc6725b11a8178ca632ac2bf36411164 /MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c | |
parent | c79be85e9dba8c739f068ab7e7996a83e417e8ec (diff) | |
download | edk2-2b1532df6dca854ffb2d753f74d110400ccdbe22.zip edk2-2b1532df6dca854ffb2d753f74d110400ccdbe22.tar.gz edk2-2b1532df6dca854ffb2d753f74d110400ccdbe22.tar.bz2 |
changed the format when use "=="
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5859 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c')
-rw-r--r-- | MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c b/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c index 960c746..81a279a 100644 --- a/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c +++ b/MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c @@ -247,7 +247,7 @@ PeCoffLoaderGetPdbPointer ( // Scan the directory to find the debug entry.
//
for (DirCount = 0; DirCount < DirectoryEntry->Size; DirCount += sizeof (EFI_IMAGE_DEBUG_DIRECTORY_ENTRY), DebugEntry++) {
- if (EFI_IMAGE_DEBUG_TYPE_CODEVIEW == DebugEntry->Type) {
+ if (DebugEntry->Type == EFI_IMAGE_DEBUG_TYPE_CODEVIEW) {
if (DebugEntry->SizeOfData > 0) {
CodeViewEntryPointer = (VOID *) ((UINTN) DebugEntry->RVA + ((UINTN)Pe32Data) + (UINTN)TEImageAdjust);
switch (* (UINT32 *) CodeViewEntryPointer) {
|