From 1e94a4255bfae1b3825cb05ee48864c64324978f Mon Sep 17 00:00:00 2001 From: Ricardo Garcia Date: Tue, 30 Sep 2014 19:27:29 +0200 Subject: [PATCH] Avoid arithmetic with void pointers --- bcrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bcrypt.c b/bcrypt.c index 3b7d76e..f5a3166 100644 --- a/bcrypt.c +++ b/bcrypt.c @@ -35,7 +35,7 @@ static int try_close(int fd) return ret; } -static int try_read(int fd, void *out, size_t count) +static int try_read(int fd, char *out, size_t count) { size_t total; ssize_t partial;