Fix compiler warning in Dictionary debug/dump printf format string

This commit is contained in:
Jon Siwek 2020-08-05 16:01:21 -07:00 committed by Tim Wojtulewicz
parent 0c7e4d62ee
commit 1d33dbc6bc

View file

@ -523,7 +523,7 @@ void Dictionary::Dump(int level) const
if ( table[i].Empty() )
printf("%'10d \n", i);
else
printf("%'10d %1s %'10d %4d %4d 0x%08x 0x%016llx(%3d) %2d\n",
printf("%'10d %1s %'10d %4d %4d 0x%08x 0x%016" PRIx64 "(%3d) %2d\n",
i, (i<=remap_end? "*": ""), BucketByPosition(i), (int)table[i].distance, OffsetInClusterByPosition(i),
uint(table[i].hash), FibHash(table[i].hash), (int)FibHash(table[i].hash)&0xFF, (int)table[i].key_size);
}