(net_http) MSVC buildfix

This commit is contained in:
twinaphex 2015-01-23 05:11:15 +01:00
parent 96ea687f7c
commit c803475c72
2 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ static ssize_t net_http_recv(int fd, bool *error,
if (*error)
return -1;
bytes = recv(fd, data, maxlen, 0);
bytes = recv(fd, (char*)data, maxlen, 0);
if (bytes > 0)
return bytes;

View File

@ -18,7 +18,7 @@
#define _NET_HTTP_H
#include <stdint.h>
#include <stdbool.h>
#include <boolean.h>
#include <string.h>
#ifdef __cplusplus