Represent MAX_COST_DIFFERENCE as unsigned

This commit is contained in:
Max Brunsfeld 2017-09-13 16:49:18 -07:00
parent c1cf8e02a7
commit 2721f72c41

View file

@ -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;