Browse Source

Fix signed/unsigned warning for mg_sleep

bel 9 năm trước cách đây
mục cha
commit
435c800467
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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;