summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/cpu/hwlocMemory.cpp
diff options
context:
space:
mode:
authorTony Butler <tony@esited.com>2018-04-17 13:10:49 -0600
committerGitHub <noreply@github.com>2018-04-17 13:10:49 -0600
commit70c319103554bfce6edd1c18786566f2bdcbc93b (patch)
tree92d4d8e58ef75a09592e30b17e55fd2136bd2008 /xmrstak/backend/cpu/hwlocMemory.cpp
parent9158460bdc316fe9d6f1fb01095b5aff52c1acf8 (diff)
parent9df1d4d608f59e81e1e7db1f9b20dd2807e7dd6e (diff)
downloadxmr-stak-70c319103554bfce6edd1c18786566f2bdcbc93b.zip
xmr-stak-70c319103554bfce6edd1c18786566f2bdcbc93b.tar.gz
Merge pull request #1 from fireice-uk/dev
Dev
Diffstat (limited to 'xmrstak/backend/cpu/hwlocMemory.cpp')
-rw-r--r--xmrstak/backend/cpu/hwlocMemory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmrstak/backend/cpu/hwlocMemory.cpp b/xmrstak/backend/cpu/hwlocMemory.cpp
index 94d2b53..089570f 100644
--- a/xmrstak/backend/cpu/hwlocMemory.cpp
+++ b/xmrstak/backend/cpu/hwlocMemory.cpp
@@ -30,7 +30,7 @@ void bindMemoryToNUMANode( size_t puId )
depth = hwloc_get_type_depth(topology, HWLOC_OBJ_PU);
- for( size_t i = 0;
+ for( uint32_t i = 0;
i < hwloc_get_nbobjs_by_depth(topology, depth);
i++ )
{
OpenPOWER on IntegriCloud