mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-20 07:49:27 +08:00
mdbx: fix size_t/unsigned/int warnings.
Change-Id: Ic5a8684aed232b8b732d6e7a87a6757f3f7afcec
This commit is contained in:
committed by
Leo Yuriev
parent
7e85ad82f1
commit
bfa6dea784
@@ -163,9 +163,7 @@ uint64_t entropy_ticks(void) {
|
||||
|
||||
#elif defined(_M_IX86) || defined(_M_X64)
|
||||
return __rdtsc();
|
||||
#endif /* __GNUC__ || __clang__ */
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64) || defined(_WINDOWS)
|
||||
#elif defined(_WIN32) || defined(_WIN64) || defined(_WINDOWS)
|
||||
LARGE_INTEGER PerformanceCount;
|
||||
if (QueryPerformanceCounter(&PerformanceCount))
|
||||
return PerformanceCount.QuadPart;
|
||||
|
Reference in New Issue
Block a user