aboutsummaryrefslogtreecommitdiffstats
path: root/missing_d/intprops.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-09-21 12:45:13 +0300
committerArnold D. Robbins <arnold@skeeve.com>2018-09-21 12:45:13 +0300
commita7c32b55995136013af2bff2a0fe4d6c69678cb7 (patch)
tree997a0596a33886fe7b07130859de34ceaf548c37 /missing_d/intprops.h
parent82f0a742be462298c0da027bc4fb56ddcb667c02 (diff)
parentf6a89a9b3ecd956e97b61719ea0d634886ace814 (diff)
downloadegawk-a7c32b55995136013af2bff2a0fe4d6c69678cb7.tar.gz
egawk-a7c32b55995136013af2bff2a0fe4d6c69678cb7.tar.bz2
egawk-a7c32b55995136013af2bff2a0fe4d6c69678cb7.zip
Merge branch 'gawk-4.2-stable'
Diffstat (limited to 'missing_d/intprops.h')
-rw-r--r--missing_d/intprops.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/missing_d/intprops.h b/missing_d/intprops.h
index a4be30b8..9702aec4 100644
--- a/missing_d/intprops.h
+++ b/missing_d/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. */