mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
A bunch of other minor issues reported by PVS-Studio
This commit is contained in:
parent
53f2364a86
commit
35ee96c4cb
7 changed files with 15 additions and 11 deletions
|
@ -349,7 +349,7 @@ static bool read_random_seeds(const char* read_file, uint32_t* seed,
|
|||
// Read seeds for hmac-md5/siphash/highwayhash.
|
||||
for ( auto& v : buf )
|
||||
{
|
||||
int tmp;
|
||||
uint32_t tmp;
|
||||
if ( fscanf(f, "%u", &tmp) != 1 )
|
||||
{
|
||||
fclose(f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue