mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
Really fix typo :-(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134436 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5ac795c56f
commit
9b9c5ea2c3
@ -311,7 +311,7 @@ COFFObjectFile::COFFObjectFile(MemoryBuffer *Object, error_code &ec)
|
||||
// Check the PE header. ("PE\0\0")
|
||||
StringRef Actual(reinterpret_cast<const char *>(base() + HeaderStart), 4);
|
||||
StringRef Expected("PE\0\0", 4);
|
||||
if (Actual != Expect) {
|
||||
if (Actual != Expected) {
|
||||
ec = object_error::parse_failed;
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user