diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-09-17 12:33:31 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-09-17 12:33:31 -0400 |
commit | e0acde8bb327371700ab86dd39e1af4949ac9a90 (patch) | |
tree | 639b80bff3abb10969fd0003b4164d5e854905a4 /opt.c | |
parent | 5559b9ed33db3e88c6576f1a43ce48b123462e8d (diff) | |
download | bfs-e0acde8bb327371700ab86dd39e1af4949ac9a90.tar.xz |
opt: Use the standard LLONG_MAX instead of the nonstandard LONG_LONG_MAX
Diffstat (limited to 'opt.c')
-rw-r--r-- | opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |