diff options
Diffstat (limited to '')
-rw-r--r-- | behex_lower.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/behex_lower.c b/behex_lower.c index 476bb18..6fdf474 100644 --- a/behex_lower.c +++ b/behex_lower.c @@ -10,8 +10,9 @@ * @param n The size of `hashsum` */ void -libsha2_behex_lower(char *restrict output, const char *restrict hashsum, size_t n) +libsha2_behex_lower(char *restrict output, const void *restrict hashsum_, size_t n) { + const unsigned char *restrict hashsum = hashsum_; output[2 * n] = '\0'; while (n--) { output[2 * n + 0] = "0123456789abcdef"[(hashsum[n] >> 4) & 15]; |