diff options
author | David Robillard <d@drobilla.net> | 2018-08-11 22:40:03 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-29 14:46:25 +0200 |
commit | 50145430b5fb08802bc22a6ae06351a11a091c60 (patch) | |
tree | 4ba0d1c8c5b76e7608fbd8ffbc985ba8a9f09622 /chilbert/SetLocation.hpp | |
parent | df0d52f4bd78c2197a88a805a1dd402978df3290 (diff) | |
download | chilbert-50145430b5fb08802bc22a6ae06351a11a091c60.tar.gz chilbert-50145430b5fb08802bc22a6ae06351a11a091c60.tar.bz2 chilbert-50145430b5fb08802bc22a6ae06351a11a091c60.zip |
Clean up types and fix every even remotely reasonable warning
Diffstat (limited to 'chilbert/SetLocation.hpp')
-rw-r--r-- | chilbert/SetLocation.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <class P, class I> 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)); } } |