VirtualBox

Changeset 53404 in vbox for trunk


Ignore:
Timestamp:
Nov 27, 2014 1:40:07 PM (10 years ago)
Author:
vboxsync
Message:

Runtime/r0drv/solaris: supress warning with explict cast, caused due to incompatible prototype between S11 and S10.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/timer-r0drv-solaris.c

    r53403 r53404  
    221221
    222222    pTimer->pOmniTimer->au64Ticks[pCpu->cpu_id] = 0;
    223     pCyclicHandler->cyh_func  = rtTimerSolCallbackWrapper;
     223    pCyclicHandler->cyh_func  = (cyc_func_t)rtTimerSolCallbackWrapper;
    224224    pCyclicHandler->cyh_arg   = pTimer;
    225225    pCyclicHandler->cyh_level = CY_LOCK_LEVEL;
     
    368368
    369369        pTimer->pSingleTimer = pSingleTimer;
    370         pSingleTimer->hHandler.cyh_func  = rtTimerSolCallbackWrapper;
     370        pSingleTimer->hHandler.cyh_func  = (cyc_func_t)rtTimerSolCallbackWrapper;
    371371        pSingleTimer->hHandler.cyh_arg   = pTimer;
    372372        pSingleTimer->hHandler.cyh_level = CY_LOCK_LEVEL;
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