Explorar o código

Fix signed/unsigned warning for mg_sleep

bel %!s(int64=9) %!d(string=hai) anos
pai
achega
435c800467
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/civetweb.c

+ 2 - 1
src/civetweb.c

@@ -11034,8 +11034,9 @@ static pthread_mutex_t *ssl_mutexes;
 static int
 sslize(struct mg_connection *conn, SSL_CTX *s, int (*func)(SSL *))
 {
-	int ret, err, i;
+	int ret, err;
 	int short_trust;
+    unsigned i;
 
 	if (!conn) {
 		return 0;