* 'master' of https://github.com/jedisct1/libsodium:
  C++ compat
This commit is contained in:
Frank Denis 2017-02-04 11:41:49 +01:00
commit d5fc01b317

View File

@ -154,7 +154,7 @@ randombytes_buf(void * const buf, const size_t size)
implementation->buf(buf, size);
}
#else
unsigned char *p = buf;
unsigned char *p = (unsigned char *) buf;
size_t i;
for (i = (size_t) 0U; i < size; i++) {