From 50145430b5fb08802bc22a6ae06351a11a091c60 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Aug 2018 22:40:03 +0200 Subject: Clean up types and fix every even remotely reasonable warning --- chilbert/SetLocation.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chilbert/SetLocation.hpp') diff --git a/chilbert/SetLocation.hpp b/chilbert/SetLocation.hpp index 644f53b..47aa969 100644 --- a/chilbert/SetLocation.hpp +++ b/chilbert/SetLocation.hpp @@ -25,9 +25,9 @@ namespace chilbert { template inline void -setLocation(P* const p, const int n, const int i, const I& l) +setLocation(P* const p, const size_t n, const size_t i, const I& l) { - for (int j = 0; j < n; j++) { + for (size_t j = 0; j < n; j++) { setBit(p[j], i, testBit(l, j)); } } -- cgit v1.2.1