fixed more warning from msvc

This commit is contained in:
Stanislav Shwartsman 2017-03-18 19:28:02 +00:00
parent 23c1263849
commit de7aa70c23

View File

@ -589,7 +589,7 @@ Bit64s bx_shadow_bool_c::get64()
void bx_shadow_bool_c::set(Bit64s newval)
{
// only change the bitnum bit
Bit64s mask = 1 << bitnum;
Bit64s mask = BX_CONST64(1) << bitnum;
*(val.pbool) &= ~mask;
*(val.pbool) |= ((newval & 1) << bitnum);
if (handler) {