diff options
author | Mattes D <github@xoft.cz> | 2014-08-27 10:52:54 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-27 10:52:54 +0200 |
commit | ccaa51f9132a1427a82e24a5d6eaf5d1992f7df9 (patch) | |
tree | 745f3346e155930a1a0e049597aacf82135496f7 /Tools/AnvilStats/Utils.cpp | |
parent | AnvilStats: initial per-height blocktype implementation (WIP). (diff) | |
download | cuberite-ccaa51f9132a1427a82e24a5d6eaf5d1992f7df9.tar cuberite-ccaa51f9132a1427a82e24a5d6eaf5d1992f7df9.tar.gz cuberite-ccaa51f9132a1427a82e24a5d6eaf5d1992f7df9.tar.bz2 cuberite-ccaa51f9132a1427a82e24a5d6eaf5d1992f7df9.tar.lz cuberite-ccaa51f9132a1427a82e24a5d6eaf5d1992f7df9.tar.xz cuberite-ccaa51f9132a1427a82e24a5d6eaf5d1992f7df9.tar.zst cuberite-ccaa51f9132a1427a82e24a5d6eaf5d1992f7df9.zip |
Diffstat (limited to '')
-rw-r--r-- | Tools/AnvilStats/Utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/AnvilStats/Utils.cpp b/Tools/AnvilStats/Utils.cpp index baa87bd69..d7543cb4c 100644 --- a/Tools/AnvilStats/Utils.cpp +++ b/Tools/AnvilStats/Utils.cpp @@ -272,7 +272,7 @@ extern const char * GetEntityTypeString(eEntityType a_EntityType) int GetNumCores(void) { // Get number of cores by querying the system process affinity mask (Windows-specific) - DWORD Affinity, ProcAffinity; + DWORD_PTR Affinity, ProcAffinity; GetProcessAffinityMask(GetCurrentProcess(), &ProcAffinity, &Affinity); int NumCores = 0; while (Affinity > 0) |