Explorar o código

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

Mateusz Gralka %!s(int64=9) %!d(string=hai) anos
pai
achega
263aa47fec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -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. */