1998-04-12  Ulrich Drepper  <drepper@cygnus.com>

	* time/mktime.c (TYPE_MAXIMUM): Add missing cast.
	Patch by Jim Meyering.
This commit is contained in:
Ulrich Drepper 1998-04-12 09:16:02 +00:00
parent 6b9c2e671c
commit 36fafd9c3a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
1998-04-12 Ulrich Drepper <drepper@cygnus.com>
* time/mktime.c (TYPE_MAXIMUM): Add missing cast.
Patch by Jim Meyering.
1998-04-11 Ulrich Drepper <drepper@cygnus.com>
* rt/tst-aio.c: Add test for aio_read and lio_listio.

View File

@ -77,7 +77,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)