mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 07:35:38 +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();
|
||||
outleft = 8;
|
||||
}
|
||||
*buf = out[--outleft];
|
||||
*buf = (uint8_t) out[--outleft];
|
||||
++buf;
|
||||
--xlen;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user