diff --git a/tools/llvm2cpp/CppWriter.cpp b/tools/llvm2cpp/CppWriter.cpp index a188acb1484..b5f39453f8f 100644 --- a/tools/llvm2cpp/CppWriter.cpp +++ b/tools/llvm2cpp/CppWriter.cpp @@ -75,7 +75,7 @@ class CppWriter { const char* progname; std::ostream &Out; const Module *TheModule; - unsigned long uniqueNum; + uint64_t uniqueNum; TypeMap TypeNames; ValueMap ValueNames; TypeMap UnresolvedTypes;