changeset 18384:0a363216611b

intprops: fix paren typo on old platforms Problem reported by John E. Malmberg in: https://bugs.gnu.org/24300#13 * lib/intprops.h (_GL_INT_OP_WRAPV_LONGISH) [__GNUC__ < 5 && !__has_builtin (__builtin_add_overflow) && (__STDC_VERSION__ < 201112 || _GL__GENERIC_BOGUS) && !defined LLONG_MAX]: Remove stray paren.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 24 Aug 2016 22:24:48 -0700
parents b46efe11d7e1
children 6e87a1af50ed
files ChangeLog lib/intprops.h
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Aug 24 20:48:32 2016 -0700
+++ b/ChangeLog	Wed Aug 24 22:24:48 2016 -0700
@@ -1,5 +1,13 @@
 2016-08-24  Paul Eggert  <eggert@cs.ucla.edu>
 
+	intprops: fix paren typo on old platforms
+	Problem reported by John E. Malmberg in: https://bugs.gnu.org/24300#13
+	* lib/intprops.h (_GL_INT_OP_WRAPV_LONGISH)
+	[__GNUC__ < 5 && !__has_builtin (__builtin_add_overflow)
+	&& (__STDC_VERSION__ < 201112 || _GL__GENERIC_BOGUS)
+	&& !defined LLONG_MAX]:
+	Remove stray paren.
+
 	intprops: port to OpenVMS
 	Problem reported by John E. Malmberg in: https://bugs.gnu.org/24300
 	* doc/posix-headers/limits.texi: Document the problem.
--- a/lib/intprops.h	Wed Aug 24 20:48:32 2016 -0700
+++ b/lib/intprops.h	Wed Aug 24 22:24:48 2016 -0700
@@ -418,7 +418,7 @@
 # else
 #  define _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow) \
     _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \
-                     long int, LONG_MIN, LONG_MAX))
+                     long int, LONG_MIN, LONG_MAX)
 # endif
 #endif