projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8554bd4
)
clean build warning on windows
author
Andy Green
<andy@warmcat.com>
Wed, 4 May 2016 03:11:15 +0000
(11:11 +0800)
committer
Andy Green
<andy@warmcat.com>
Wed, 4 May 2016 03:11:15 +0000
(11:11 +0800)
Signed-off-by: Andy Green <andy@warmcat.com>
lib/context.c
patch
|
blob
|
history
diff --git
a/lib/context.c
b/lib/context.c
index
90bb8fc
..
23d218d
100644
(file)
--- a/
lib/context.c
+++ b/
lib/context.c
@@
-598,7
+598,8
@@
lws_create_context(struct lws_context_creation_info *info)
if (info->server_string) {
context->server_string = info->server_string;
- context->server_string_len = strlen(context->server_string);
+ context->server_string_len = (short)
+ strlen(context->server_string);
} else {
context->server_string = "libwebsockets";
context->server_string_len = 13;