Merge branch 'master' of https://github.com/jedisct1/libsodium
* 'master' of https://github.com/jedisct1/libsodium: C++ compat
This commit is contained in:
commit
d5fc01b317
@ -154,7 +154,7 @@ randombytes_buf(void * const buf, const size_t size)
|
|||||||
implementation->buf(buf, size);
|
implementation->buf(buf, size);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
unsigned char *p = buf;
|
unsigned char *p = (unsigned char *) buf;
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
for (i = (size_t) 0U; i < size; i++) {
|
for (i = (size_t) 0U; i < size; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user