diff options
Diffstat (limited to 'lib/Support/FoldingSet.cpp')
-rw-r--r-- | lib/Support/FoldingSet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/FoldingSet.cpp b/lib/Support/FoldingSet.cpp index 70daad9..e083f3b 100644 --- a/lib/Support/FoldingSet.cpp +++ b/lib/Support/FoldingSet.cpp @@ -59,7 +59,7 @@ void FoldingSetImpl::NodeID::AddDouble(double D) { void FoldingSetImpl::NodeID::AddAPFloat(const APFloat& apf) { APInt api = apf.convertToAPInt(); const uint64_t *p = api.getRawData(); - for (int i=0; i<api.getNumWords(); i++) + for (unsigned i=0; i<api.getNumWords(); i++) AddInteger(*p++); } void FoldingSetImpl::NodeID::AddString(const std::string &String) { |