projects
/
platform
/
upstream
/
libwebsockets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implemented fixes allowing libwebsockets to be built under Windows using MinGM/MSYS
[platform/upstream/libwebsockets.git]
/
lib
/
output.c
diff --git
a/lib/output.c
b/lib/output.c
index
785368c
..
977d1de
100644
(file)
--- a/
lib/output.c
+++ b/
lib/output.c
@@
-581,7
+581,7
@@
lws_ssl_capable_read_no_ssl(struct libwebsocket_context *context,
{
int n;
- n = recv(wsi->sock, buf, len, 0);
+ n = recv(wsi->sock,
(char *)
buf, len, 0);
if (n >= 0)
return n;
@@
-599,7
+599,7
@@
lws_ssl_capable_write_no_ssl(struct libwebsocket *wsi, unsigned char *buf, int l
{
int n;
- n = send(wsi->sock, buf, len, MSG_NOSIGNAL);
+ n = send(wsi->sock,
(char *)
buf, len, MSG_NOSIGNAL);
if (n >= 0)
return n;