Browse Source

Cast a value in notrandombytes.c

master
Thom Wiggers 5 years ago
parent
commit
b7bc9b6cb0
No known key found for this signature in database GPG Key ID: 1BB0A7CE26E363
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/notrandombytes.c

+ 1
- 1
common/notrandombytes.c 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;
}


Loading…
Cancel
Save