1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-23 15:42:08 +03:00

Fixed 'conversion loses integer precision' error reported by clang.

This commit is contained in:
Mateusz Gralka
2015-12-08 08:49:55 +01:00
parent c585a95e87
commit 263aa47fec

View File

@@ -10216,7 +10216,7 @@ set_ssl_option(struct mg_context *ctx)
struct timespec now_mt;
md5_byte_t ssl_context_id[16];
md5_state_t md5state;
long protocol_ver;
int protocol_ver;
/* If PEM file is not specified and the init_ssl callback
* is not specified, skip SSL initialization. */