diff options
author | Daan <daan@microsoft.com> | 2020-06-16 11:47:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-16 11:47:45 -0700 |
commit | 07c6e60a5a3bd7de09e4a170cd97bafba59cfafd (patch) | |
tree | 59db3b0568d8285de6862c9f5d27ad177cfc9037 | |
parent | a09a64e29b5535f6f4ea70fc58ac41c91c73a440 (diff) | |
parent | d5475a58a1a3cb7f0e5154e49cd7f94d1038a7d0 (diff) |
Merge pull request #259 from DerVogel2020/master
fix: avoid warning
-rw-r--r-- | src/os.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1036,7 +1036,7 @@ static size_t mi_os_numa_nodex() { static size_t mi_os_numa_node_countx(void) { ULONG numa_max = 0; GetNumaHighestNodeNumber(&numa_max); - return (numa_max + 1); + return ((size_t)numa_max + 1); } #elif defined(__linux__) #include <sys/syscall.h> // getcpu |