浏览代码

Fix signed/unsigned warning for mg_sleep

bel 9 年之前
父节点
当前提交
435c800467
共有 1 个文件被更改,包括 2 次插入1 次删除
  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;