diff options
author | Josh Blum | 2013-05-05 16:52:08 -0700 |
---|---|---|
committer | Josh Blum | 2013-05-05 16:52:08 -0700 |
commit | fc196183ad8ac826fbc0b45f6570e68ef7fc669f (patch) | |
tree | 52040bc03951bb4819d8bfb356e674ab26d21417 /lib/tag_handlers.hpp | |
parent | e6616e6f0e39ba94b6afc5e31c433c42080a1d10 (diff) | |
download | sandhi-fc196183ad8ac826fbc0b45f6570e68ef7fc669f.tar.gz sandhi-fc196183ad8ac826fbc0b45f6570e68ef7fc669f.tar.bz2 sandhi-fc196183ad8ac826fbc0b45f6570e68ef7fc669f.zip |
gras: fixed wrong integer type for item index
Diffstat (limited to 'lib/tag_handlers.hpp')
-rw-r--r-- | lib/tag_handlers.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tag_handlers.hpp b/lib/tag_handlers.hpp index 425748c..8d504dd 100644 --- a/lib/tag_handlers.hpp +++ b/lib/tag_handlers.hpp @@ -25,7 +25,7 @@ GRAS_FORCE_INLINE void BlockActor::trim_tags(const size_t i) //------------------------------------------------------------------ std::vector<Tag> &tags_i = this->input_tags[i]; - const size_t items_consumed_i = this->stats.items_consumed[i]; + const item_index_t items_consumed_i = this->stats.items_consumed[i]; size_t last = 0; while (last < tags_i.size() and tags_i[last].offset < items_consumed_i) { |