aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-12 12:08:29 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-12 12:08:29 +0000
commit75d28b05957c4b12e9834a5cf7d804ee65d8c6b0 (patch)
tree1d6a8a1a9429a6d1826e018ee59bd85122dbb347 /target-i386
parenteba01623abd1e788e6fb5c104f31973fc31c5fa4 (diff)
char is only for strings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4436 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/helper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c
index c3d307eeb4..c93f10fa42 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -1238,14 +1238,14 @@ void do_interrupt(int intno, int is_int, int error_code,
*/
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)