VirtualBox

Ignore:
Timestamp:
Aug 23, 2013 12:02:42 PM (11 years ago)
Author:
vboxsync
Message:

Main/solaris: Warnings because Solaris doesn't know when to use const.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/solaris/PerformanceSolaris.cpp

    r48009 r48020  
    385385    AssertReturn(strlen(name) < KSTAT_STRLEN, VERR_INVALID_PARAMETER);
    386386    LogFlowThisFunc(("m=%s i=%d n=%s\n", "link", -1, name));
    387     kstat_t *ksAdapter = kstat_lookup(mKC, "link", -1, (char *)name);
     387    kstat_t *ksAdapter = kstat_lookup(mKC, (char *)"link", -1, (char *)name);
    388388    if (ksAdapter == 0)
    389389    {
     
    391391        uint32_t uInstance = getInstance(name, szModule);
    392392        LogFlowThisFunc(("m=%s i=%u n=%s\n", szModule, uInstance, "phys"));
    393         ksAdapter = kstat_lookup(mKC, szModule, uInstance, "phys");
     393        ksAdapter = kstat_lookup(mKC, szModule, uInstance, (char *)"phys");
    394394        if (ksAdapter == 0)
    395395        {
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