1
1
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:
Thom Wiggers 2019-02-27 17:18:07 +01:00
parent 58aba49ca2
commit b7bc9b6cb0
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

View File

@ -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;
}