Changeset 90791 in vbox for trunk/src/VBox/Devices/USB/darwin
- Timestamp:
- Aug 23, 2021 10:28:24 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/darwin/USBProxyDevice-darwin.cpp
r87419 r90791 450 450 451 451 IOReturn irc = (*pIf->ppIfI)->LowLatencyCreateBuffer(pIf->ppIfI, &pNew->pvBuffer, 8192 * RT_ELEMENTS(pNew->aBuffers), enmLLType); 452 if ( irc == kIOReturnSuccess !=VALID_PTR(pNew->pvBuffer))452 if ((irc == kIOReturnSuccess) != RT_VALID_PTR(pNew->pvBuffer)) 453 453 { 454 454 AssertPtr(pNew->pvBuffer); … … 458 458 { 459 459 irc = (*pIf->ppIfI)->LowLatencyCreateBuffer(pIf->ppIfI, &pNew->pvFrames, PAGE_SIZE, kUSBLowLatencyFrameListBuffer); 460 if ( irc == kIOReturnSuccess !=VALID_PTR(pNew->pvFrames))460 if ((irc == kIOReturnSuccess) != RT_VALID_PTR(pNew->pvFrames)) 461 461 { 462 462 AssertPtr(pNew->pvFrames);
Note:
See TracChangeset
for help on using the changeset viewer.