VirtualBox

Changeset 5978 in vbox


Ignore:
Timestamp:
Dec 6, 2007 7:33:42 AM (17 years ago)
Author:
vboxsync
Message:

gcc warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/time/time.cpp

    r5975 r5978  
    574574     */
    575575    if (    pTime->i32Year >= OFF_YEAR_IDX_0_YEAR
    576         &&  pTime->i32Year <  OFF_YEAR_IDX_0_YEAR + RT_ELEMENTS(g_aoffYear))
     576        &&  pTime->i32Year <  OFF_YEAR_IDX_0_YEAR + (int32_t)RT_ELEMENTS(g_aoffYear))
    577577    {
    578578        int32_t offDays = g_aoffYear[pTime->i32Year - OFF_YEAR_IDX_0_YEAR]
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