mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
fix a gcc warning: comparison between signed and unsigned integer expressions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41972 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7e9edda51d
commit
2204906892
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user