Changeset 7875 in vbox for trunk/src/VBox
- Timestamp:
- Apr 10, 2008 3:50:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r7841 r7875 743 743 uint16_t rda[4]; 744 744 PDMDevHlpPhysRead(pDevIns, addr+3, &ownbyte, 1); 745 if ( (!ownbyte & 0x80) && fRetIfNotOwn)745 if (!(ownbyte & 0x80) && fRetIfNotOwn) 746 746 return false; 747 747 PDMDevHlpPhysRead(pDevIns, addr, (void*)&rda[0], sizeof(rda)); … … 754 754 { 755 755 PDMDevHlpPhysRead(pDevIns, addr+7, &ownbyte, 1); 756 if ( (!ownbyte & 0x80) && fRetIfNotOwn)756 if (!(ownbyte & 0x80) && fRetIfNotOwn) 757 757 return false; 758 758 PDMDevHlpPhysRead(pDevIns, addr, (void*)rmd, 16); … … 762 762 uint32_t rda[4]; 763 763 PDMDevHlpPhysRead(pDevIns, addr+7, &ownbyte, 1); 764 if ( (!ownbyte & 0x80) && fRetIfNotOwn)764 if (!(ownbyte & 0x80) && fRetIfNotOwn) 765 765 return false; 766 766 PDMDevHlpPhysRead(pDevIns, addr, (void*)&rda[0], sizeof(rda));
Note:
See TracChangeset
for help on using the changeset viewer.