1
0
mirror of https://github.com/rg3/libbcrypt.git synced 2026-10-23 12:08:58 +03:00

Avoid arithmetic with void pointers

This commit is contained in:
Ricardo Garcia
2014-09-30 19:27:29 +02:00
parent 13532f140d
commit 1e94a4255b

View File

@@ -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;