Windows : fix warning about potential division by 0
The warning brought by code analysis, unsafe arithmetic in timer related code
This commit is contained in:
parent
fbad1b1150
commit
f33e8e4a95
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define OFFSET_TO_EPOC 116444736000000000LL
|
#define OFFSET_TO_EPOC 116444736000000000LL
|
||||||
static ulonglong query_performance_frequency;
|
static ulonglong query_performance_frequency=1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LINUX_UNISTD_H
|
#ifdef HAVE_LINUX_UNISTD_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user