Under 4.3BSD (unsigned short) op (short) becomes (unsigned short)
authorZhishun Alex Liu <zliu@ucbvax.Berkeley.EDU>
Sun, 27 Apr 1986 11:37:26 +0000 (03:37 -0800)
committerZhishun Alex Liu <zliu@ucbvax.Berkeley.EDU>
Sun, 27 Apr 1986 11:37:26 +0000 (03:37 -0800)
SCCS-vsn: lib/libm/ieee/support.c 1.3

usr/src/lib/libm/ieee/support.c

index 6f8dd62..7507c0b 100644 (file)
@@ -13,7 +13,7 @@
 
 #ifndef lint
 static char sccsid[] =
 
 #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
 
 /* 
 #endif not lint
 
 /* 
@@ -133,7 +133,7 @@ double x;
 #endif
 
 #ifdef VAX
 #endif
 
 #ifdef VAX
-        return( ((*px & mexp)>>gap) - bias);
+        return (int)(((*px&mexp)>>gap)-bias);
 #else /* IEEE */
         if( (k= *px & mexp ) != mexp )
             if ( k != 0 )
 #else /* IEEE */
         if( (k= *px & mexp ) != mexp )
             if ( k != 0 )