From bac192d6cf953e7a7188888adaaa1f1789c17638 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 5 Jul 2011 19:17:10 +0000 Subject: [PATCH] Really fix typo :-( llvm-svn: 134436 --- llvm/lib/Object/COFFObjectFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Object/COFFObjectFile.cpp b/llvm/lib/Object/COFFObjectFile.cpp index aa079f3c3c3c..e4b13b243026 100644 --- a/llvm/lib/Object/COFFObjectFile.cpp +++ b/llvm/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; }