Fix -Wsign-conversion warnings in tests.

This commit is contained in:
Patrick Pelissier committed 2020-06-13 19:43:52 +02:00
1 parent 279b46b4e2
commit 4ab3a3605b
10 files changed
+38 -37

No files matched your search

+1 -1
View File
@@ -388,7 +388,7 @@ static void test_queue(size_t n, int cpu_count, unsigned long long ref)
for(int i = 0; i < conso_count; i++) {
m_thread_create (idx_c[i], conso2, &n);
}
size_t n2 = conso_count;
size_t n2 = (size_t) conso_count;
m_thread_create(idx_final, final2, &n2);
// Wait for jobs to be done.