diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-09-21 12:45:13 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-09-21 12:45:13 +0300 |
commit | a7c32b55995136013af2bff2a0fe4d6c69678cb7 (patch) | |
tree | 997a0596a33886fe7b07130859de34ceaf548c37 /support/intprops.h | |
parent | 82f0a742be462298c0da027bc4fb56ddcb667c02 (diff) | |
parent | f6a89a9b3ecd956e97b61719ea0d634886ace814 (diff) | |
download | egawk-a7c32b55995136013af2bff2a0fe4d6c69678cb7.tar.gz egawk-a7c32b55995136013af2bff2a0fe4d6c69678cb7.tar.bz2 egawk-a7c32b55995136013af2bff2a0fe4d6c69678cb7.zip |
Merge branch 'gawk-4.2-stable'
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. */ |