From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JvWpV-0006oD-5q for qemu-devel@nongnu.org; Mon, 12 May 2008 08:08:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JvWpU-0006nn-BN for qemu-devel@nongnu.org; Mon, 12 May 2008 08:08:32 -0400 Received: from [199.232.76.173] (port=45318 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvWpT-0006nf-W2 for qemu-devel@nongnu.org; Mon, 12 May 2008 08:08:32 -0400 Received: from savannah.gnu.org ([199.232.41.3]:39567 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 1JvWpT-0005AH-J5 for qemu-devel@nongnu.org; Mon, 12 May 2008 08:08:31 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1JvWpS-0007nu-VZ for qemu-devel@nongnu.org; Mon, 12 May 2008 12:08:31 +0000 Received: from bellard by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1JvWpS-0007np-CR for qemu-devel@nongnu.org; Mon, 12 May 2008 12:08:30 +0000 MIME-Version: 1.0 Errors-To: bellard Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Fabrice Bellard Message-Id: Date: Mon, 12 May 2008 12:08:30 +0000 Subject: [Qemu-devel] [4436] char is only for strings 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: 4436 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4436 Author: bellard Date: 2008-05-12 12:08:29 +0000 (Mon, 12 May 2008) Log Message: ----------- char is only for strings Modified Paths: -------------- trunk/target-i386/helper.c Modified: trunk/target-i386/helper.c =================================================================== --- trunk/target-i386/helper.c 2008-05-12 12:04:40 UTC (rev 4435) +++ trunk/target-i386/helper.c 2008-05-12 12:08:29 UTC (rev 4436) @@ -1238,14 +1238,14 @@ */ static int check_exception(int intno, int *error_code) { - char first_contributory = env->old_exception == 0 || + int first_contributory = env->old_exception == 0 || (env->old_exception >= 10 && env->old_exception <= 13); - char second_contributory = intno == 0 || + int second_contributory = intno == 0 || (intno >= 10 && intno <= 13); if (loglevel & CPU_LOG_INT) - fprintf(logfile, "check_exception old: %x new %x\n", + fprintf(logfile, "check_exception old: 0x%x new 0x%x\n", env->old_exception, intno); if (env->old_exception == EXCP08_DBLE)