diff options
-rw-r--r-- | sys/dev/random/harvest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/harvest.c b/sys/dev/random/harvest.c index 1e2275d..b6f3fba 100644 --- a/sys/dev/random/harvest.c +++ b/sys/dev/random/harvest.c @@ -110,7 +110,7 @@ read_random_phony(void *buf, int count) srandom((u_long)get_cyclecount()); /* Fill buf[] with random(9) output */ - for (i = 0; i < count; i+= (size_t)sizeof(u_long)) { + for (i = 0; i < count; i+= (int)sizeof(u_long)) { randval = random(); size = (count - i) < (int)sizeof(u_long) ? (count - i) |