diff options
author | jirka-h <hladky.jiri@gmail.com> | 2019-08-19 21:50:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-19 21:50:10 +0200 |
commit | 6871ef398c9853c75f3bfc14fbad72c64c360519 (patch) | |
tree | 7d306034a50b429d05e2a550df9d42acce462994 /src | |
parent | Merge pull request #17 from nbraud/NEWS (diff) | |
parent | Fix type mismatch in get_poolsize (diff) | |
download | haveged-6871ef398c9853c75f3bfc14fbad72c64c360519.tar.xz haveged-6871ef398c9853c75f3bfc14fbad72c64c360519.zip |
Merge pull request #16 from andreas-schwab/master
Fix type mismatch in get_poolsize
Diffstat (limited to 'src')
-rw-r--r-- | src/haveged.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/haveged.c b/src/haveged.c index 9788bda..543d833 100644 --- a/src/haveged.c +++ b/src/haveged.c @@ -496,7 +496,8 @@ static int get_poolsize( /* RETURN: number of bits */ void) /* IN: nothing */ { FILE *poolsize_fh,*osrel_fh; - unsigned int max_bits,major,minor; + unsigned int major,minor; + int max_bits; poolsize_fh = fopen(params->poolsize, "rb"); if (poolsize_fh) { |