diff options
| author | 2003-11-18 14:14:04 +0000 | |
|---|---|---|
| committer | 2003-11-18 14:14:04 +0000 | |
| commit | 3dee7a5ac7752712c6d65bed4fce5a0337bbaa09 (patch) | |
| tree | 3a006eafb779ce1fb8162897fd14ccd92524c4ac /usr.sbin/bind/lib/isc/unix/time.c | |
| parent | use bn_asm_vax.S (from netbsd); test + ok by miod (diff) | |
| download | wireguard-openbsd-3dee7a5ac7752712c6d65bed4fce5a0337bbaa09.tar.xz wireguard-openbsd-3dee7a5ac7752712c6d65bed4fce5a0337bbaa09.zip | |
update to BIND v9.2.3. ok todd@
Diffstat (limited to 'usr.sbin/bind/lib/isc/unix/time.c')
| -rw-r--r-- | usr.sbin/bind/lib/isc/unix/time.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bind/lib/isc/unix/time.c b/usr.sbin/bind/lib/isc/unix/time.c index 573860c60dc..6de20df0056 100644 --- a/usr.sbin/bind/lib/isc/unix/time.c +++ b/usr.sbin/bind/lib/isc/unix/time.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-2001 Internet Software Consortium. + * Copyright (C) 1998-2001, 2003 Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $ISC: time.c,v 1.34.2.5 2001/10/22 23:28:26 gson Exp $ */ +/* $ISC: time.c,v 1.34.2.7 2003/10/09 07:32:52 marka Exp $ */ #include <config.h> @@ -173,7 +173,7 @@ isc_time_now(isc_time_t *t) { * Ensure the tv_sec value fits in t->seconds. */ if (sizeof(tv.tv_sec) > sizeof(t->seconds) && - ((tv.tv_sec | (unsigned int)-1) ^ (unsigned int)-1) != 0) + ((tv.tv_sec | (unsigned int)-1) ^ (unsigned int)-1) != 0U) return (ISC_R_RANGE); t->seconds = tv.tv_sec; @@ -366,7 +366,7 @@ isc_time_secondsastimet(isc_time_t *t, time_t *secondsp) { (time_t)0.5 != 0.5 && /* Not a floating point type. */ (i = (time_t)-1) != 4294967295u && /* Is signed. */ (seconds & - (1U << (sizeof(time_t) * CHAR_BIT - 1))) != 0) { /* Negative. */ + (1U << (sizeof(time_t) * CHAR_BIT - 1))) != 0U) { /* Negative. */ /* * This UNUSED() is here to shut up the IRIX compiler: * variable "i" was set but never used |
