-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid use of ftime() and fix overflow of unsigned int
ftime() is an obsolete interface, and <sys/timeb.h> may not be present on all platforms. Also, multiplying a time_t by 1000 will overflow the range of an unsigned 32-bit int.
- Loading branch information
Showing
1 changed file
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters