Skip to content

Commit c6060ad

Browse files
joevtdingusdev
authored andcommitted
timermanager: Use decimal ints, not floats or hex.
1 parent f09710a commit c6060ad

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

core/timermanager.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
3333

3434
using namespace std;
3535

36-
#define NS_PER_SEC 1E9
37-
#define USEC_PER_SEC 1E6
38-
#define NS_PER_USEC 1000UL
39-
#define NS_PER_MSEC 1E6
40-
#define ONE_BILLION_NS 0x3B9ACA00UL
36+
#define NS_PER_SEC 1000000000
37+
#define USEC_PER_SEC 1000000
38+
#define NS_PER_USEC 1000
39+
#define NS_PER_MSEC 1000000
40+
#define ONE_BILLION_NS 1000000000
4141

4242
#define USECS_TO_NSECS(us) (us) * NS_PER_USEC
4343
#define MSECS_TO_NSECS(ms) (ms) * NS_PER_MSEC

0 commit comments

Comments
 (0)