From: Rafael Espindola Date: Tue, 5 Jul 2011 19:17:10 +0000 (+0000) Subject: Really fix typo :-( X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9b9c5ea2c396806fc85c3502cf0205b4e03c2233;p=oota-llvm.git Really fix typo :-( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134436 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Object/COFFObjectFile.cpp b/lib/Object/COFFObjectFile.cpp index aa079f3c3c3..e4b13b24302 100644 --- a/lib/Object/COFFObjectFile.cpp +++ b/lib/Object/COFFObjectFile.cpp @@ -311,7 +311,7 @@ COFFObjectFile::COFFObjectFile(MemoryBuffer *Object, error_code &ec) // Check the PE header. ("PE\0\0") StringRef Actual(reinterpret_cast(base() + HeaderStart), 4); StringRef Expected("PE\0\0", 4); - if (Actual != Expect) { + if (Actual != Expected) { ec = object_error::parse_failed; return; }