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]
/
lwsws
/
conf.c
diff --git
a/lwsws/conf.c
b/lwsws/conf.c
index
7367397
..
c78184d
100644
(file)
--- a/
lwsws/conf.c
+++ b/
lwsws/conf.c
@@
-378,7
+378,7
@@
lejp_vhosts_cb(struct lejp_ctx *ctx, char reason)
break;
case LEJPVP_MOUNTPOINT:
a->m.mountpoint = a->p;
- a->m.mountpoint_len = strlen(ctx->buf);
+ a->m.mountpoint_len =
(unsigned char)
strlen(ctx->buf);
break;
case LEJPVP_ORIGIN:
a->m.origin = a->p;