VirtualBox

Changeset 85205 in vbox


Ignore:
Timestamp:
Jul 10, 2020 7:51:21 PM (4 years ago)
Author:
vboxsync
Message:

iprt/time.h: RTTimeSpecGetNtTime should return a signed value, rather than an unsigned one. bugref:9790include

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/time.h

    r85202 r85205  
    473473 * Gets the time as NT time.
    474474 *
    475  * @returns Nt time.
     475 * @returns NT time.
    476476 * @param   pTime       The time spec to interpret.
    477477 */
    478 DECLINLINE(uint64_t) RTTimeSpecGetNtTime(PCRTTIMESPEC pTime)
     478DECLINLINE(int64_t) RTTimeSpecGetNtTime(PCRTTIMESPEC pTime)
    479479{
    480480    return pTime->i64NanosecondsRelativeToUnixEpoch / 100
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