aboutsummaryrefslogtreecommitdiffstats
path: root/sum_fd.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sum_fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sum_fd.c b/sum_fd.c
index 888e423..f93d20c 100644
--- a/sum_fd.c
+++ b/sum_fd.c
@@ -12,7 +12,7 @@
* @return Zero on success, -1 on error
*/
int
-libsha2_sum_fd(int fd, enum libsha2_algorithm algorithm, char *restrict hashsum)
+libsha2_sum_fd(int fd, enum libsha2_algorithm algorithm, void *restrict hashsum)
{
struct libsha2_state state;
ssize_t r;