summaryrefslogtreecommitdiff
path: root/reformatter
diff options
context:
space:
mode:
authorLloyd Hilaiel <lloyd@hilaiel.com>2009-10-19 06:33:57 -0700
committerLloyd Hilaiel <lloyd@hilaiel.com>2009-10-19 06:33:57 -0700
commit7452dc0e80c85196ea3f6b71143be6f10e600f7b (patch)
tree67df13c1b959a8614dc48ecf34082aef6bbf9f0e /reformatter
parent532e9d978ace625efc9bcbe88c8d4b25e69b1ba8 (diff)
downloadyajl-7452dc0e80c85196ea3f6b71143be6f10e600f7b.tar.gz
fix win32 compilation after addition of isnan() isinf() checks, address a couple sign mismatches in comparison
Diffstat (limited to 'reformatter')
-rw-r--r--reformatter/json_reformat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/reformatter/json_reformat.c b/reformatter/json_reformat.c
index cfe043d..d152b8d 100644
--- a/reformatter/json_reformat.c
+++ b/reformatter/json_reformat.c
@@ -146,7 +146,7 @@ main(int argc, char ** argv)
/* check arguments.*/
int a = 1;
while ((a < argc) && (argv[a][0] == '-') && (strlen(argv[a]) > 1)) {
- int i;
+ unsigned int i;
for ( i=1; i < strlen(argv[a]); i++) {
switch (argv[a][i]) {
case 'm':