Really fix typo :-(

llvm-svn: 134436
This commit is contained in:
Rafael Espindola 2011-07-05 19:17:10 +00:00
parent e1bb3cbf65
commit bac192d6cf
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}