VirtualBox

Ignore:
Timestamp:
Aug 5, 2018 2:18:50 PM (6 years ago)
Author:
vboxsync
Message:

VBoxDTrace: GCC 8.2.0 fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/dtrace.c

    r69044 r73510  
    317317        (void (*)(void *, const dtrace_probedesc_t *))dtrace_nullop,
    318318        (void (*)(void *, struct modctl *))dtrace_nullop,
    319         (int (*)(void *, dtrace_id_t, void *))dtrace_enable_nullop,
     319        (int (*)(void *, dtrace_id_t, void *))(uintptr_t)dtrace_enable_nullop,
    320320        (void (*)(void *, dtrace_id_t, void *))dtrace_nullop,
    321321        (void (*)(void *, dtrace_id_t, void *))dtrace_nullop,
     
    73837383
    73847384        if (old->dtpv_pops.dtps_enable ==
    7385             (int (*)(void *, dtrace_id_t, void *))dtrace_enable_nullop) {
     7385            (int (*)(void *, dtrace_id_t, void *))(uintptr_t)dtrace_enable_nullop) {
    73867386                /*
    73877387                 * If DTrace itself is the provider, we're called with locks
     
    75337533
    75347534        ASSERT(pvp->dtpv_pops.dtps_enable !=
    7535             (int (*)(void *, dtrace_id_t, void *))dtrace_enable_nullop);
     7535            (int (*)(void *, dtrace_id_t, void *))(uintptr_t)dtrace_enable_nullop);
    75367536
    75377537        mutex_enter(&dtrace_provider_lock);
     
    75747574         */
    75757575        ASSERT(prov->dtpv_pops.dtps_enable !=
    7576             (int (*)(void *, dtrace_id_t, void *))dtrace_enable_nullop);
     7576            (int (*)(void *, dtrace_id_t, void *))(uintptr_t)dtrace_enable_nullop);
    75777577
    75787578        mutex_enter(&dtrace_provider_lock);
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