From: Benjamin Kramer Date: Mon, 3 Mar 2014 13:59:41 +0000 (+0000) Subject: Unbreak the C++11 build. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a0fb58010d079f68e99ad55311ba7506371e8a4e;p=oota-llvm.git Unbreak the C++11 build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202714 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/CodeGenMapTable.cpp b/utils/TableGen/CodeGenMapTable.cpp index d27323eacbc..b97126bfa76 100644 --- a/utils/TableGen/CodeGenMapTable.cpp +++ b/utils/TableGen/CodeGenMapTable.cpp @@ -384,7 +384,7 @@ unsigned MapTableEmitter::emitBinSearchTable(raw_ostream &OS) { OutStr += TargetName; OutStr += "::"; OutStr += ColInstrs[j]->getName(); - } else { OutStr += ", -1";} + } else { OutStr += ", (uint16_t)-1U";} } if (RelExists) {