projects
/
platform
/
upstream
/
libwebsockets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lws_intptr_t
[platform/upstream/libwebsockets.git]
/
lib
/
context.c
diff --git
a/lib/context.c
b/lib/context.c
index
7e875ea
..
666f51e
100644
(file)
--- a/
lib/context.c
+++ b/
lib/context.c
@@
-553,7
+553,7
@@
lws_create_vhost(struct lws_context *context,
for (n = 0; n < vh->count_protocols; n++)
if (!strcmp(pvo->value, vh->protocols[n].name)) {
((struct lws_protocol_vhost_options *)pvo)->value =
- (const char *)(l
ong
)n;
+ (const char *)(l
ws_intptr_t
)n;
break;
}
if (n == vh->count_protocols)