From 1469ce85a599a1768d2baa0f4029e82059bfecc3 Mon Sep 17 00:00:00 2001 From: Zhishun Alex Liu Date: Sun, 27 Apr 1986 03:37:26 -0800 Subject: [PATCH] Under 4.3BSD (unsigned short) op (short) becomes (unsigned short) SCCS-vsn: lib/libm/ieee/support.c 1.3 --- usr/src/lib/libm/ieee/support.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/src/lib/libm/ieee/support.c b/usr/src/lib/libm/ieee/support.c index 6f8dd6200e..7507c0b3fe 100644 --- a/usr/src/lib/libm/ieee/support.c +++ b/usr/src/lib/libm/ieee/support.c @@ -13,7 +13,7 @@ #ifndef lint static char sccsid[] = -"@(#)support.c 1.1 (Berkeley) 5/23/85; 1.2 (ucb.elefunt) %G%"; +"@(#)support.c 1.1 (Berkeley) 5/23/85; 1.3 (ucb.elefunt) %G%"; #endif not lint /* @@ -133,7 +133,7 @@ double x; #endif #ifdef VAX - return( ((*px & mexp)>>gap) - bias); + return (int)(((*px&mexp)>>gap)-bias); #else /* IEEE */ if( (k= *px & mexp ) != mexp ) if ( k != 0 ) -- 2.20.1