//\r
// Clear the memory enable bit\r
//\r
- Command = Context->CommandRegisterBuffer[Index] & (~0x02);\r
+ Command = (UINT16) (Context->CommandRegisterBuffer[Index] & (~0x02));\r
\r
IoDev->Pci.Write (IoDev, EfiPciWidthUint16, Address, 1, &Command);\r
}\r