X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmktime.c;h=3803f5c74990163a94a4f1ba47daca002d67125e;hb=refs%2Ftags%2FFILEUTILS-3_16x;hp=4709d56895c9997d9533e985e27847b42a549184;hpb=bfd921d6669111f84fe57b2b3c9de31ed2eba54f;p=gnulib.git diff --git a/lib/mktime.c b/lib/mktime.c index 4709d5689..3803f5c74 100644 --- a/lib/mktime.c +++ b/lib/mktime.c @@ -1,4 +1,5 @@ -/* Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. +/* 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). NOTE: The canonical source of this file is maintained with the GNU C Library. @@ -79,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)