VirtualBox

Ignore:
Timestamp:
Aug 16, 2016 6:46:55 AM (8 years ago)
Author:
vboxsync
Message:

gcc 6 warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrvGip.cpp

    r62664 r63523  
    18191819    cCpus = RTMpGetArraySize();
    18201820    if (   cCpus > RTCPUSET_MAX_CPUS
    1821         || cCpus > 256 /* ApicId is used for the mappings */)
     1821#if RTCPUSET_MAX_CPUS != 256
     1822        || cCpus > 256 /* ApicId is used for the mappings */
     1823#endif
     1824        )
    18221825    {
    18231826        SUPR0Printf("VBoxDrv: Too many CPUs (%u) for the GIP (max %u)\n", cCpus, RT_MIN(RTCPUSET_MAX_CPUS, 256));
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