]> Savannah Git Hosting - gnulib.git/commitdiff
intprops: fix paren typo on old platforms
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 25 Aug 2016 05:24:48 +0000 (22:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 25 Aug 2016 05:25:13 +0000 (22:25 -0700)
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.

ChangeLog
lib/intprops.h

index 7cfd2444a88a529e7189d1c066b109149830918c..4a2e641516afaafa5e266d36e30690d8d34d568d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index fe6c789825130cc0527a1713e3cc43952bb9c008..6030760708514c1263727ac6ce54ae75ef3e86bb 100644 (file)
@@ -418,7 +418,7 @@ verify (TYPE_MAXIMUM (long long int) == LLONG_MAX);
 # 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