mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
clean build warning on windows
Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
parent
8554bd43bd
commit
4eab21976c
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue