diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-09-21 12:45:49 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-09-21 12:45:49 +0300 |
commit | dfa06e8677737ca794f9505aac71d67679979c6d (patch) | |
tree | 1540c1d662443c2b62d2ee7a02294d1ab6ff59db /support/intprops.h | |
parent | 362a100732b1017b54d3d6c6f14ea6ba59e657c2 (diff) | |
parent | a7c32b55995136013af2bff2a0fe4d6c69678cb7 (diff) | |
download | egawk-dfa06e8677737ca794f9505aac71d67679979c6d.tar.gz egawk-dfa06e8677737ca794f9505aac71d67679979c6d.tar.bz2 egawk-dfa06e8677737ca794f9505aac71d67679979c6d.zip |
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'support/intprops.h')
-rw-r--r-- | support/intprops.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/intprops.h b/support/intprops.h index a4be30b8..9702aec4 100644 --- a/support/intprops.h +++ b/support/intprops.h @@ -342,8 +342,8 @@ Arguments should be free of side effects. */ #define _GL_BINARY_OP_OVERFLOW(a, b, op_result_overflow) \ op_result_overflow (a, b, \ - _GL_INT_MINIMUM ((1 ? 0 : (b)) + (a)), \ - _GL_INT_MAXIMUM ((1 ? 0 : (b)) + (a))) + _GL_INT_MINIMUM (_GL_INT_CONVERT (a, b)), \ + _GL_INT_MAXIMUM (_GL_INT_CONVERT (a, b))) /* Store the low-order bits of A + B, A - B, A * B, respectively, into *R. Return 1 if the result overflows. See above for restrictions. */ |