VirtualBox

Changeset 47540 in vbox


Ignore:
Timestamp:
Aug 5, 2013 10:22:24 AM (11 years ago)
Author:
vboxsync
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.c

    r47537 r47540  
    995995uint32_t VBOXCALL supdrvSessionRetain(PSUPDRVSESSION pSession)
    996996{
     997    uint32_t cRefs;
    997998    AssertPtrReturn(pSession, UINT32_MAX);
    998999    AssertReturn(SUP_IS_SESSION_VALID(pSession), UINT32_MAX);
    9991000
    1000     uint32_t cRefs = ASMAtomicIncU32(&pSession->cRefs);
     1001    cRefs = ASMAtomicIncU32(&pSession->cRefs);
    10011002    AssertMsg(cRefs > 1 && cRefs < _1M, ("%#x %p\n", cRefs, pSession));
    10021003    return cRefs;
     
    10111012uint32_t VBOXCALL supdrvSessionRelease(PSUPDRVSESSION pSession)
    10121013{
     1014    uint32_t cRefs;
    10131015    AssertPtrReturn(pSession, UINT32_MAX);
    10141016    AssertReturn(SUP_IS_SESSION_VALID(pSession), UINT32_MAX);
    10151017
    1016     uint32_t cRefs = ASMAtomicDecU32(&pSession->cRefs);
     1018    cRefs = ASMAtomicDecU32(&pSession->cRefs);
    10171019    AssertMsg(cRefs < _1M, ("%#x %p\n", cRefs, pSession));
    10181020    if (cRefs == 0)
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