Browse Source

Rewrite string handling (Step 9/?)

bel 10 years ago
parent
commit
e41fb47332
1 changed files with 1 additions and 1 deletions
  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;