Fix several signed/unsigned comparison compile warnings.

This commit is contained in:
LoopDawg 2018-06-01 20:23:34 -06:00
parent 32d3ec3199
commit 470a68cfd4
2 changed files with 3 additions and 3 deletions

View file

@ -1131,7 +1131,7 @@ static void OutputDouble(TInfoSink& out, double value, TOutputTraverser::EExtraO
{
out.debug << " : ";
long long b = *reinterpret_cast<long long*>(&value);
for (int i = 0; i < 8 * sizeof(value); ++i, ++b) {
for (size_t i = 0; i < 8 * sizeof(value); ++i, ++b) {
out.debug << ((b & 0x8000000000000000) != 0 ? "1" : "0");
b <<= 1;
}