clean up warnings

Change-Id: I5421ab90234278920e6080599bb40ffcb3eaa04d
Tá an tiomantas seo le fáil i:
Payam
2020-07-15 13:49:16 -04:00
tiomanta ag Payam Ghafari
tuismitheoir dfd78a65f2
tiomantas 94e623181b
D'athraigh 2 comhad le 4 breiseanna agus 4 scriosta
+1 -1
Féach ar an gComhad
@@ -372,7 +372,7 @@ const void* Os::createOsThread(amd::Thread* thread) {
cpu_set_t cpuset;
if (processorCount_ > 0) {
CPU_ZERO(&cpuset);
for (uint i = 0; i < processorCount_; i++) {
for (int i = 0; i < processorCount_; i++) {
CPU_SET(i, &cpuset);
}
if (0 != pthread_attr_setaffinity_np(&threadAttr, sizeof(cpu_set_t), &cpuset)) {