projects
/
platform
/
upstream
/
libwebsockets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
win fix warnings from appveyor
[platform/upstream/libwebsockets.git]
/
lib
/
server.c
diff --git
a/lib/server.c
b/lib/server.c
index
94a0280
..
c109585
100644
(file)
--- a/
lib/server.c
+++ b/
lib/server.c
@@
-674,7
+674,7
@@
lws_http_action(struct lws *wsi)
*/
if (hit->origin_protocol == LWSMPRO_CALLBACK) {
- for (n = 0; n < wsi->vhost->count_protocols; n++)
+ for (n = 0; n <
(unsigned int)
wsi->vhost->count_protocols; n++)
if (!strcmp(wsi->vhost->protocols[n].name,
hit->origin)) {