summaryrefslogtreecommitdiff
path: root/lib/nettle/rnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nettle/rnd.c')
-rw-r--r--lib/nettle/rnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nettle/rnd.c b/lib/nettle/rnd.c
index 7b0f0f682f..6fdb8f1c48 100644
--- a/lib/nettle/rnd.c
+++ b/lib/nettle/rnd.c
@@ -49,7 +49,7 @@ enum {
struct nonce_ctx_st {
struct salsa20_ctx ctx;
- unsigned int counter;
+ size_t counter;
unsigned int forkid;
};
@@ -59,7 +59,7 @@ struct rnd_ctx_st {
struct timespec device_last_read;
time_t trivia_previous_time;
time_t trivia_time_count;
- unsigned forkid;
+ unsigned int forkid;
};
struct ext_ctx_st {