mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 23:48:58 +00:00
Cast a value in notrandombytes.c
This commit is contained in:
parent
58aba49ca2
commit
b7bc9b6cb0
@ -70,7 +70,7 @@ int randombytes(uint8_t *buf, size_t xlen) {
|
|||||||
surf();
|
surf();
|
||||||
outleft = 8;
|
outleft = 8;
|
||||||
}
|
}
|
||||||
*buf = out[--outleft];
|
*buf = (uint8_t) out[--outleft];
|
||||||
++buf;
|
++buf;
|
||||||
--xlen;
|
--xlen;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user