{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1747027677,
"reponame":"libwebsockets",
"desc":"libwebsockets lightweight C networking library",
"owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets",
"f":3,
"items": [
{"schema":"libjg2-1",
"cid":"3e62a578502f3a23affa23a1984ac2f3",
"commit": {"type":"commit",
"time": 1463272261,
"time_ofs": 480,
"oid_tree": { "oid": "f5e7619ad318624f0871e8108efcadeadee986aa", "alias": []},
"oid":{ "oid": "7a9970f90d354d2c491e4727b4bc83b83b440fbe", "alias": []},
"msg": "win fix warnings from appveyor",
"sig_commit": { "git_time": { "time": 1463272261, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1463272177, "offset": 480 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }},
"body": "win fix warnings from appveyor\n\nSigned-off-by: Andy Green \u003candy@warmcat.com\u003e\n"
,
"diff": "diff --git a/lib/context.c b/lib/context.c\nindex 0b34ee1..bf35926 100644\n--- a/lib/context.c\n+++ b/lib/context.c\n@@ -447,7 +447,7 @@ lws_create_vhost(struct lws_context *context,\n #ifdef LWS_WITH_ACCESS_LOG\n \tif (info-\u003elog_filepath) {\n \t\tvh-\u003elog_fd \u003d open(info-\u003elog_filepath, O_CREAT | O_APPEND | O_RDWR, 0600);\n-\t\tif (vh-\u003elog_fd \u003d\u003d LWS_INVALID_FILE) {\n+\t\tif (vh-\u003elog_fd \u003d\u003d (int)LWS_INVALID_FILE) {\n \t\t\tlwsl_err(\u0022unable to open log filepath %s\u005cn\u0022,\n \t\t\t\t info-\u003elog_filepath);\n \t\t\tgoto bail;\n@@ -460,7 +460,7 @@ lws_create_vhost(struct lws_context *context,\n \t\t\t\t\t\tinfo-\u003elog_filepath);\n #endif\n \t} else\n-\t\tvh-\u003elog_fd \u003d LWS_INVALID_FILE;\n+\t\tvh-\u003elog_fd \u003d (int)LWS_INVALID_FILE;\n #endif\n \n \tif (lws_context_init_server_ssl(info, vh))\n@@ -940,7 +940,7 @@ lws_context_destroy(struct lws_context *context)\n #endif\n #endif\n #ifdef LWS_WITH_ACCESS_LOG\n-\t\tif (vh-\u003elog_fd !\u003d LWS_INVALID_FILE)\n+\t\tif (vh-\u003elog_fd !\u003d (int)LWS_INVALID_FILE)\n \t\t\tclose(vh-\u003elog_fd);\n #endif\n \ndiff --git a/lib/libuv.c b/lib/libuv.c\nindex 64e5a7e..0b6b60f 100644\n--- a/lib/libuv.c\n+++ b/lib/libuv.c\n@@ -269,7 +269,7 @@ lws_libuv_destroyloop(struct lws_context *context, int tsi)\n }\n \n void\n-lws_libuv_accept(struct lws *wsi, int accept_fd)\n+lws_libuv_accept(struct lws *wsi, lws_sockfd_type accept_fd)\n {\n \tstruct lws_context *context \u003d lws_get_context(wsi);\n \tstruct lws_context_per_thread *pt \u003d \u0026context-\u003ept[(int)wsi-\u003etsi];\ndiff --git a/lib/libwebsockets.c b/lib/libwebsockets.c\nindex 96dc533..6ac8639 100644\n--- a/lib/libwebsockets.c\n+++ b/lib/libwebsockets.c\n@@ -2343,7 +2343,7 @@ lws_access_log(struct lws *wsi)\n \t\t wsi-\u003eaccess_log.header_log,\n \t\t wsi-\u003eaccess_log.response, wsi-\u003eaccess_log.sent, p);\n \n-\tif (wsi-\u003evhost-\u003elog_fd !\u003d LWS_INVALID_FILE) {\n+\tif (wsi-\u003evhost-\u003elog_fd !\u003d (int)LWS_INVALID_FILE) {\n \t\tif (write(wsi-\u003evhost-\u003elog_fd, ass, l) !\u003d l)\n \t\t\tlwsl_err(\u0022Failed to write log\u005cn\u0022);\n \t} else\n@@ -2448,7 +2448,7 @@ lws_json_dump_vhost(const struct lws_vhost *vh, char *buf, int len)\n \t\t\tif (!first)\n \t\t\t\tbuf +\u003d snprintf(buf, end - buf, \u0022,\u0022);\n \t\t\tbuf +\u003d snprintf(buf, end - buf,\n-\t\t\t\t\t\u0022\u005cn {\u005cn \u005c\u0022%s\u005c\u0022:\u005c{\u005cn\u0022\n+\t\t\t\t\t\u0022\u005cn {\u005cn \u005c\u0022%s\u005c\u0022:{\u005cn\u0022\n \t\t\t\t\t\u0022 \u005c\u0022status\u005c\u0022:\u005c\u0022ok\u005c\u0022\u005cn }\u005cn }\u0022\n \t\t\t\t\t,\n \t\t\t\t\tvh-\u003eprotocols[n].name);\ndiff --git a/lib/server.c b/lib/server.c\nindex 94a0280..c109585 100644\n--- a/lib/server.c\n+++ b/lib/server.c\n@@ -674,7 +674,7 @@ lws_http_action(struct lws *wsi)\n \t\t */\n \t\tif (hit-\u003eorigin_protocol \u003d\u003d LWSMPRO_CALLBACK) {\n \n-\t\t\tfor (n \u003d 0; n \u003c wsi-\u003evhost-\u003ecount_protocols; n++)\n+\t\t\tfor (n \u003d 0; n \u003c (unsigned int)wsi-\u003evhost-\u003ecount_protocols; n++)\n \t\t\t\tif (!strcmp(wsi-\u003evhost-\u003eprotocols[n].name,\n \t\t\t\t\t hit-\u003eorigin)) {\n \ndiff --git a/lwsws/conf.c b/lwsws/conf.c\nindex 7367397..c78184d 100644\n--- a/lwsws/conf.c\n+++ b/lwsws/conf.c\n@@ -378,7 +378,7 @@ lejp_vhosts_cb(struct lejp_ctx *ctx, char reason)\n \t\tbreak;\n \tcase LEJPVP_MOUNTPOINT:\n \t\ta-\u003em.mountpoint \u003d a-\u003ep;\n-\t\ta-\u003em.mountpoint_len \u003d strlen(ctx-\u003ebuf);\n+\t\ta-\u003em.mountpoint_len \u003d (unsigned char)strlen(ctx-\u003ebuf);\n \t\tbreak;\n \tcase LEJPVP_ORIGIN:\n \t\ta-\u003em.origin \u003d a-\u003ep;\ndiff --git a/test-server/test-server-v2.0.c b/test-server/test-server-v2.0.c\nindex b66a84e..b6feafe 100644\n--- a/test-server/test-server-v2.0.c\n+++ b/test-server/test-server-v2.0.c\n@@ -229,7 +229,8 @@ int main(int argc, char **argv)\n \tinfo.port \u003d 7681;\n \n \twhile (n \u003e\u003d 0) {\n-\t\tn \u003d getopt_long(argc, argv, \u0022i:hsap:d:Dr:C:K:A:R:vu:g:\u0022, options, NULL);\n+\t\tn \u003d getopt_long(argc, argv, \u0022i:hsap:d:Dr:C:K:A:R:vu:g:\u0022,\n+\t\t\t\t(struct option *)options, NULL);\n \t\tif (n \u003c 0)\n \t\t\tcontinue;\n \t\tswitch (n) {\n","s":{"c":1747027677,"u": 13223}}
],"g": 15311,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}