diff options
author | Mattes D <github@xoft.cz> | 2014-08-27 11:32:51 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-27 11:32:51 +0200 |
commit | 3da27fb7a3f45bc5a82bba13e9b836c8b3dca6a5 (patch) | |
tree | f5ababf68358785f38268f7b21442b0f7c13790b /Tools/AnvilStats/Utils.cpp | |
parent | AnvilStats: Rewritten to use CMake. (diff) | |
parent | AnvilStats: Fixed thread start race condition. (diff) | |
download | cuberite-3da27fb7a3f45bc5a82bba13e9b836c8b3dca6a5.tar cuberite-3da27fb7a3f45bc5a82bba13e9b836c8b3dca6a5.tar.gz cuberite-3da27fb7a3f45bc5a82bba13e9b836c8b3dca6a5.tar.bz2 cuberite-3da27fb7a3f45bc5a82bba13e9b836c8b3dca6a5.tar.lz cuberite-3da27fb7a3f45bc5a82bba13e9b836c8b3dca6a5.tar.xz cuberite-3da27fb7a3f45bc5a82bba13e9b836c8b3dca6a5.tar.zst cuberite-3da27fb7a3f45bc5a82bba13e9b836c8b3dca6a5.zip |
Diffstat (limited to 'Tools/AnvilStats/Utils.cpp')
-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) |