summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-09-17 12:33:31 -0400
committerTavian Barnes <tavianator@tavianator.com>2017-09-17 12:33:31 -0400
commite0acde8bb327371700ab86dd39e1af4949ac9a90 (patch)
tree639b80bff3abb10969fd0003b4164d5e854905a4
parent5559b9ed33db3e88c6576f1a43ce48b123462e8d (diff)
downloadbfs-e0acde8bb327371700ab86dd39e1af4949ac9a90.tar.xz
opt: Use the standard LLONG_MAX instead of the nonstandard LONG_LONG_MAX
-rw-r--r--opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opt.c b/opt.c
index 330f804..151ca67 100644
--- a/opt.c
+++ b/opt.c
@@ -151,7 +151,7 @@ static void infer_depth_facts(struct opt_state *state, const struct expr *expr)
break;
case CMP_GREATER:
- if (expr->idata == LONG_LONG_MAX) {
+ if (expr->idata == LLONG_MAX) {
// Avoid overflow
state->facts_when_true.maxdepth = -1;
} else {