(net_http) MSVC buildfix
This commit is contained in:
parent
96ea687f7c
commit
c803475c72
|
@ -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;
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#define _NET_HTTP_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <boolean.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in New Issue