From e0acde8bb327371700ab86dd39e1af4949ac9a90 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 17 Sep 2017 12:33:31 -0400 Subject: opt: Use the standard LLONG_MAX instead of the nonstandard LONG_LONG_MAX --- opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3