From 604e7aa7ac42c50f7b8d635719a5539e76856364 Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Sun, 29 Nov 2009 21:05:59 +0000 Subject: [PATCH] typo fix --- bochs/cpu/cpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bochs/cpu/cpu.h b/bochs/cpu/cpu.h index 3b86907d8..59a8b2c2f 100644 --- a/bochs/cpu/cpu.h +++ b/bochs/cpu/cpu.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: cpu.h,v 1.624 2009-11-29 21:01:26 sshwarts Exp $ +// $Id: cpu.h,v 1.625 2009-11-29 21:05:59 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. @@ -3615,7 +3615,7 @@ BX_CPP_INLINE bx_bool BX_CPU_C::long_mode(void) BX_CPP_INLINE bx_bool BX_CPU_C::long64_mode(void) { #if BX_SUPPORT_X86_64 - return (BX_CPU_THIS_PTR cpu_mode >= BX_MODE_LONG_64); + return (BX_CPU_THIS_PTR cpu_mode == BX_MODE_LONG_64); #else return 0; #endif