summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-04-12 09:39:30 +0000
committerJim Meyering <jim@meyering.net>1998-04-12 09:39:30 +0000
commit8ed3137f52ad4a814d8381423effe76daf1b2bf3 (patch)
tree827bbbe18f199739bdd2c10d9e81b95ba859db15 /lib
parentd4257e63c7956d7a77349f0e3b693afa5e1ab9df (diff)
downloadcoreutils-8ed3137f52ad4a814d8381423effe76daf1b2bf3.tar.xz
(TYPE_MAXIMUM): Update from system.h.
Diffstat (limited to 'lib')
-rw-r--r--lib/mktime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mktime.c b/lib/mktime.c
index a65cd38f9..359cfd30b 100644
--- a/lib/mktime.c
+++ b/lib/mktime.c
@@ -80,7 +80,7 @@
It is necessary at least when t == time_t. */
#define TYPE_MINIMUM(t) ((t) (TYPE_SIGNED (t) \
? ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1) : (t) 0))
-#define TYPE_MAXIMUM(t) (~ (t) 0 - TYPE_MINIMUM (t))
+#define TYPE_MAXIMUM(t) ((t) (~ (t) 0 - TYPE_MINIMUM (t)))
#ifndef INT_MIN
# define INT_MIN TYPE_MINIMUM (int)