Skip to content

Commit

Permalink
Fix a cvompiler warning in the Bochs sim. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotmiranda committed Apr 26, 2020
1 parent 64c032a commit 86da8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processors/IA32/bochs/cpu/proc_ctrl.cc
Expand Up @@ -1311,7 +1311,7 @@ bx_bool BX_CPP_AttrRegparmN(1) BX_CPU_C::SetCR4(bx_address val)

// Need to GPF if trying to set undefined bits.
if (val & ~allowMask) {
BX_ERROR(("#GP(0): SetCR4: Write of 0x%08x not supported (allowMask=0x%x)", val, allowMask));
BX_ERROR(("#GP(0): SetCR4: Write of 0x%08lx not supported (allowMask=0x%lx)", val, allowMask));
return 0;
}

Expand Down

0 comments on commit 86da8ca

Please sign in to comment.