X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmktime.c;h=3803f5c74990163a94a4f1ba47daca002d67125e;hb=0eeff3be000687cfd5aa94daba426c383e2c6950;hp=a65cd38f9cbf4d79ce447dc2e8e5bf6c8cd01784;hpb=9300fc8b825adbeb4b1f51ee656f45278d5ed41c;p=gnulib.git diff --git a/lib/mktime.c b/lib/mktime.c index a65cd38f9..3803f5c74 100644 --- a/lib/mktime.c +++ b/lib/mktime.c @@ -1,4 +1,4 @@ -/* mktime: convert a `struct tm' to a time_t value +/* mktime: convert a `struct tm' to a time_t value zzzzzz Copyright (C) 1993-1997, 1998 Free Software Foundation, Inc. Contributed by Paul Eggert (eggert@twinsun.com). @@ -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)