VirtualBox

Changeset 3477 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
Jul 5, 2007 3:18:17 PM (17 years ago)
Author:
vboxsync
Message:

just make the variable signed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevRTC.cpp

    r3314 r3477  
    142142    uint32_t        cRelLogEntries;
    143143    /** The current/previous timer period. Used to prevent flooding changes. */
    144     uint32_t        CurPeriod;
     144    int32_t         CurPeriod;
    145145};
    146146
     
    170170        TMTimerSet(s->CTXSUFF(pPeriodicTimer), s->next_periodic_time);
    171171
    172         if ((uint32_t)period != s->CurPeriod)
     172        if (period != s->CurPeriod)
    173173        {
    174174            if (s->cRelLogEntries++ < 64)
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