Fixed few warnings

This commit is contained in:
Martin Pulec
2018-06-20 16:21:01 +02:00
parent 234348ebee
commit a7830d3bc2
10 changed files with 23 additions and 17 deletions

View File

@@ -125,7 +125,7 @@ static void send_response(fd_t fd, struct response *resp);
static ssize_t write_all(fd_t fd, const void *buf, size_t count)
{
char *p = (char *) buf;
const char *p = (const char *) buf;
size_t rest = count;
ssize_t w = 0;