X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FCodeGen%2FSelectionDAG%2FSelectionDAGPrinter.cpp;h=f1883744129467d77364227e9182d91ad4f6b175;hb=49c18cce976c158e86f54c681dff21bb81640fb8;hp=410f6157358a45c0a47b2c378cd912f4b5ba0041;hpb=ca19a3fd116a0a7dab15e49509a3fea565b5e738;p=oota-llvm.git diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index 410f6157358..f1883744129 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp @@ -127,7 +127,7 @@ std::string DOTGraphTraits::getNodeLabel(const SDNode *Node, } else if (const GlobalAddressSDNode *GADN = dyn_cast(Node)) { Op += ": " + GADN->getGlobal()->getName(); - if (int Offset = GADN->getOffset()) { + if (int64_t Offset = GADN->getOffset()) { if (Offset > 0) Op += "+" + itostr(Offset); else