diff options
Diffstat (limited to 'coreutils/expand.c')
-rw-r--r-- | coreutils/expand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/expand.c b/coreutils/expand.c index a7ac8ea84..af2ef8675 100644 --- a/coreutils/expand.c +++ b/coreutils/expand.c | |||
@@ -41,7 +41,7 @@ static void expand(FILE *file, unsigned tab_size, unsigned opt) | |||
41 | char *line; | 41 | char *line; |
42 | char *ptr; | 42 | char *ptr; |
43 | int convert; | 43 | int convert; |
44 | int pos; | 44 | unsigned pos; |
45 | 45 | ||
46 | /* Increment tab_size by 1 locally.*/ | 46 | /* Increment tab_size by 1 locally.*/ |
47 | tab_size++; | 47 | tab_size++; |
@@ -80,7 +80,7 @@ static void unexpand(FILE *file, unsigned int tab_size, unsigned opt) | |||
80 | int convert; | 80 | int convert; |
81 | int pos; | 81 | int pos; |
82 | int i = 0; | 82 | int i = 0; |
83 | int column = 0; | 83 | unsigned column = 0; |
84 | 84 | ||
85 | while ((line = xmalloc_fgets(file)) != NULL) { | 85 | while ((line = xmalloc_fgets(file)) != NULL) { |
86 | convert = 1; | 86 | convert = 1; |