changeset 2214:853fc7a46792

fix types
author Igor Sysoev <igor@sysoev.ru>
date Tue, 26 Aug 2008 21:04:06 +0000
parents 8cc552c91cd2
children fabe9ecb099f
files src/core/ngx_conf_file.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/ngx_conf_file.c
+++ b/src/core/ngx_conf_file.c
@@ -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;