mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Fix some printf warnings with size_t values
This commit is contained in:
parent
c6e7d14757
commit
f1ed66d52c
4 changed files with 8 additions and 7 deletions
|
@ -1148,7 +1148,8 @@ void init_random_seed(const char* read_file, const char* write_file,
|
|||
#endif
|
||||
|
||||
if ( pos < zeek::detail::KeyedHash::SEED_INIT_SIZE )
|
||||
zeek::reporter->FatalError("Could not read enough random data. Wanted %d, got %lu", zeek::detail::KeyedHash::SEED_INIT_SIZE, pos);
|
||||
zeek::reporter->FatalError("Could not read enough random data. Wanted %d, got %zu",
|
||||
zeek::detail::KeyedHash::SEED_INIT_SIZE, pos);
|
||||
|
||||
if ( ! seed )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue