Support Clang's -Wconversion -Wfloat-conversion -Wsign-conversion with -Werror

This commit is contained in:
Ion Gaztañaga
2021-10-20 00:18:59 +02:00
parent 3b5da7b0c1
commit efc75031f5
24 changed files with 114 additions and 102 deletions

View File

@@ -454,7 +454,7 @@ bool test_continuous_aligned_allocation(Allocator &a)
return false;
}
//Deallocate all
for(unsigned int k = buffers.size(); k--;){
for(std::size_t k = buffers.size(); k--;){
a.deallocate(buffers[k]);
}
buffers.clear();