aboutsummaryrefslogtreecommitdiff
path: root/common/winexe_pe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/winexe_pe.cpp')
-rw-r--r--common/winexe_pe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/winexe_pe.cpp b/common/winexe_pe.cpp
index 456093f5b4..17db004bfc 100644
--- a/common/winexe_pe.cpp
+++ b/common/winexe_pe.cpp
@@ -78,7 +78,7 @@ bool PEResources::loadFromEXE(SeekableReadStream *stream) {
stream->seek(peOffset);
- if (stream->readUint32BE() != MKID_BE('PE\0\0'))
+ if (stream->readUint32BE() != MKTAG('P','E',0,0))
return false;
stream->skip(2);