VirtualBox

Ignore:
Timestamp:
Jan 21, 2007 10:30:25 AM (18 years ago)
Author:
vboxsync
Message:

fixed incorrect assertions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/semaphore-r0drv-darwin.cpp

    r201 r205  
    9191{
    9292    Assert(sizeof(RTSEMEVENTINTERNAL) > sizeof(void *));
    93     AssertPtrReturn(VALID_PTR(pEventSem), VERR_INVALID_POINTER);
     93    AssertPtrReturn(pEventSem, VERR_INVALID_POINTER);
    9494
    9595    PRTSEMEVENTINTERNAL pEventInt = (PRTSEMEVENTINTERNAL)RTMemAlloc(sizeof(*pEventInt));
     
    406406{
    407407    AssertCompile(sizeof(RTSEMFASTMUTEXINTERNAL) > sizeof(void *));
    408     AssertPtrReturn(VALID_PTR(pMutexSem), VERR_INVALID_POINTER);
     408    AssertPtrReturn(pMutexSem, VERR_INVALID_POINTER);
    409409
    410410    PRTSEMFASTMUTEXINTERNAL pFastInt = (PRTSEMFASTMUTEXINTERNAL)RTMemAlloc(sizeof(*pFastInt));
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