VirtualBox

Changeset 88355 in vbox


Ignore:
Timestamp:
Apr 2, 2021 11:00:05 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143601
Message:

Audio: Fix bug in PDMAudioHostDevDup. bugref:9890

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmaudiohostenuminline.h

    r88061 r88355  
    106106 * @param   fOnlyCoreData
    107107 */
    108 DECLINLINE(PPDMAUDIOHOSTDEV) PDMAudioHostDevDup(PPDMAUDIOHOSTDEV pDev, bool fOnlyCoreData)
     108DECLINLINE(PPDMAUDIOHOSTDEV) PDMAudioHostDevDup(PCPDMAUDIOHOSTDEV pDev, bool fOnlyCoreData)
    109109{
    110110    AssertPtrReturn(pDev, NULL);
     
    120120        memcpy(pDevDup, pDev, cbToDup);
    121121        RTListInit(&pDevDup->ListEntry);
    122         pDev->cbSelf = cbToDup;
     122        pDevDup->cbSelf = cbToDup;
    123123    }
    124124
Note: See TracChangeset for help on using the changeset viewer.

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