From 2721f72c415e63fd2cac562cf806906060630a51 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Wed, 13 Sep 2017 16:49:18 -0700 Subject: [PATCH] Represent MAX_COST_DIFFERENCE as unsigned --- src/runtime/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/parser.c b/src/runtime/parser.c index 640baf2a..855d7138 100644 --- a/src/runtime/parser.c +++ b/src/runtime/parser.c @@ -36,7 +36,7 @@ static const unsigned MAX_VERSION_COUNT = 6; static const unsigned MAX_SUMMARY_DEPTH = 16; -static const int MAX_COST_DIFFERENCE = 16 * ERROR_COST_PER_SKIPPED_TREE; +static const unsigned MAX_COST_DIFFERENCE = 16 * ERROR_COST_PER_SKIPPED_TREE; typedef struct { unsigned cost;