mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix compiler warning in Dictionary debug/dump printf format string
This commit is contained in:
parent
0c7e4d62ee
commit
1d33dbc6bc
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ void Dictionary::Dump(int level) const
|
||||||
if ( table[i].Empty() )
|
if ( table[i].Empty() )
|
||||||
printf("%'10d \n", i);
|
printf("%'10d \n", i);
|
||||||
else
|
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),
|
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);
|
uint(table[i].hash), FibHash(table[i].hash), (int)FibHash(table[i].hash)&0xFF, (int)table[i].key_size);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue