Module Name:    src
Committed By:   matt
Date:           Mon Mar 19 22:24:07 UTC 2012

Modified Files:
        src/sys/arch/mips/include: ieeefp.h

Log Message:
Use unsigned int instead of int fo the fp* typedefs.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/mips/include/ieeefp.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/include/ieeefp.h
diff -u src/sys/arch/mips/include/ieeefp.h:1.6 src/sys/arch/mips/include/ieeefp.h:1.7
--- src/sys/arch/mips/include/ieeefp.h:1.6	Thu Jan 27 13:42:09 2011
+++ src/sys/arch/mips/include/ieeefp.h	Mon Mar 19 22:24:07 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: ieeefp.h,v 1.6 2011/01/27 13:42:09 tsutsui Exp $	*/
+/*	$NetBSD: ieeefp.h,v 1.7 2012/03/19 22:24:07 matt Exp $	*/
 
 /*
  * Written by J.T. Conklin, Apr 11, 1995
@@ -12,8 +12,8 @@
 
 #if defined(_NETBSD_SOURCE) || defined(_ISOC99_SOURCE)
 
-typedef int fenv_t;
-typedef int fexcept_t;
+typedef unsigned int fenv_t;
+typedef unsigned int fexcept_t;
 
 #define	FE_INEXACT	0x01	/* imprecise (loss of precision) */
 #define	FE_UNDERFLOW	0x02	/* underflow exception */
@@ -30,7 +30,7 @@ typedef int fexcept_t;
 
 #if !defined(_ISOC99_SOURCE)
 
-typedef int fp_except;
+typedef unsigned int fp_except;
 #define FP_X_IMP	FE_INEXACT	/* imprecise (loss of precision) */
 #define FP_X_UFL	FE_UNDERFLOW	/* underflow exception */
 #define FP_X_OFL	FE_OVERFLOW	/* overflow exception */

Reply via email to