소스 검색

Rewrite string handling (Step 9/?)

bel 10 년 전
부모
커밋
e41fb47332
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -5947,7 +5947,7 @@ static char *addenv(struct cgi_env_block *block,
  * pointer into the vars array. */
 static char *addenv(struct cgi_env_block *block, const char *fmt, ...)
 {
-	unsigned int n, space;
+	size_t n, space;
 	int truncated;
 	char *added;
 	va_list ap;