Internals: Use size_t to compare with vector::capacity(). No functional change intended. (#2758)

This commit is contained in:
Yutetsu TAKATSUKASA 2021-01-16 23:47:27 +09:00 committed by GitHub
parent cea8b65f8c
commit b82085fbc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -595,7 +595,7 @@ private:
}
} else {
// MCD Case
for (int i = 0; (fdi != 0) && (i < fp.capacity()); ++i, fdi >>= 1) {
for (size_t i = 0; (fdi != 0) && (i < fp.capacity()); ++i, fdi >>= 1) {
if (fdi & VL_MASK_I(1)) fp.push_back(s_s.v.m_fdps[i]);
}
}