]> git.kaiwu.me - nginx.git/commitdiff
fix types
authorIgor Sysoev <igor@sysoev.ru>
Tue, 26 Aug 2008 21:04:06 +0000 (21:04 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 26 Aug 2008 21:04:06 +0000 (21:04 +0000)
src/core/ngx_conf_file.c

index 7da9997ca9775c68a896bda67f1883d69937a073..23c150cb230702b490035feaf282a80639de0616 100644 (file)
@@ -45,7 +45,7 @@ ngx_module_t  ngx_conf_module = {
 
 /* The ten fixed arguments */
 
-static int argument_number[] = {
+static ngx_uint_t argument_number[] = {
     NGX_CONF_NOARGS,
     NGX_CONF_TAKE1,
     NGX_CONF_TAKE2,
@@ -433,10 +433,10 @@ static ngx_int_t
 ngx_conf_read_token(ngx_conf_t *cf)
 {
     u_char      *start, ch, *src, *dst;
-    int          len;
-    int          found, need_space, last_space, sharp_comment, variable;
-    int          quoted, s_quoted, d_quoted;
+    size_t       len;
     ssize_t      n;
+    ngx_uint_t   found, need_space, last_space, sharp_comment, variable;
+    ngx_uint_t   quoted, s_quoted, d_quoted;
     ngx_str_t   *word;
     ngx_buf_t   *b;