Cast a value in notrandombytes.c
This commit is contained in:
父節點
58aba49ca2
當前提交
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;
|
||||
}
|
||||
|
載入中…
新增問題並參考
Block a user