From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LEBRu-0001O6-Vm for qemu-devel@nongnu.org; Sat, 20 Dec 2008 18:41:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LEBRt-0001Ng-Tr for qemu-devel@nongnu.org; Sat, 20 Dec 2008 18:41:34 -0500 Received: from [199.232.76.173] (port=43400 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LEBRt-0001Nb-L5 for qemu-devel@nongnu.org; Sat, 20 Dec 2008 18:41:33 -0500 Received: from savannah.gnu.org ([199.232.41.3]:46276 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LEBRt-0000S9-Ck for qemu-devel@nongnu.org; Sat, 20 Dec 2008 18:41:33 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LEBRs-0006Ll-Sw for qemu-devel@nongnu.org; Sat, 20 Dec 2008 23:41:32 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LEBRs-0006Lh-MA for qemu-devel@nongnu.org; Sat, 20 Dec 2008 23:41:32 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Sat, 20 Dec 2008 23:41:32 +0000 Subject: [Qemu-devel] [6115] softfloat-native: fix type of float_rounding_mode Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 6115 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6115 Author: aurel32 Date: 2008-12-20 23:41:32 +0000 (Sat, 20 Dec 2008) Log Message: ----------- softfloat-native: fix type of float_rounding_mode fegetround() and fesetround() are using an int type. Change the type of float_rounding_mode and floatx80_rounding_precision in the float_status structure for consistency. Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/fpu/softfloat-native.h Modified: trunk/fpu/softfloat-native.h =================================================================== --- trunk/fpu/softfloat-native.h 2008-12-20 23:40:35 UTC (rev 6114) +++ trunk/fpu/softfloat-native.h 2008-12-20 23:41:32 UTC (rev 6115) @@ -140,9 +140,9 @@ #endif typedef struct float_status { - signed char float_rounding_mode; + int float_rounding_mode; #ifdef FLOATX80 - signed char floatx80_rounding_precision; + int floatx80_rounding_precision; #endif } float_status;