VirtualBox

Ignore:
Timestamp:
Aug 24, 2021 11:01:59 AM (3 years ago)
Author:
vboxsync
Message:

Audio/ValKit: More work on ATS client destruction handling [build fix]. bugref:10008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/audio/vkatCommon.cpp

    r90830 r90831  
    473473    PATSCALLBACKCTX pCtx = (PATSCALLBACKCTX)pvUser;
    474474
    475     AssertReturn(pCtx->cClients <= UINT8_MAX, VERR_BUFFER_OVERFLOW);
     475    AssertReturn(pCtx->cClients <= UINT8_MAX - 1, VERR_BUFFER_OVERFLOW);
    476476
    477477    pCtx->cClients++;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette