summaryrefslogtreecommitdiff
path: root/board/cr50/dcrypto/trng.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/cr50/dcrypto/trng.c')
-rw-r--r--board/cr50/dcrypto/trng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cr50/dcrypto/trng.c b/board/cr50/dcrypto/trng.c
index 6a419a6756..a16ea0c926 100644
--- a/board/cr50/dcrypto/trng.c
+++ b/board/cr50/dcrypto/trng.c
@@ -216,7 +216,7 @@ static int command_rand(int argc, char **argv)
while (count-- > 0) {
uint64_t rnd;
uint32_t rvalue;
- int size;
+ size_t size;
rnd = fips_trng_rand32();
if (!rand_valid(rnd)) {