Cast a value in notrandombytes.c
This commit is contained in:
rodzic
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;
|
||||
}
|
||||
|
Ładowanie…
Reference in New Issue
Block a user