Browse Source

Fix signed/unsigned warning for mg_sleep

bel 9 years ago
parent
commit
435c800467
1 changed files with 2 additions and 1 deletions
  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;