summaryrefslogtreecommitdiff
path: root/lib/tag_handlers.hpp
diff options
context:
space:
mode:
authorJosh Blum2013-05-05 16:52:08 -0700
committerJosh Blum2013-05-05 16:52:08 -0700
commitfc196183ad8ac826fbc0b45f6570e68ef7fc669f (patch)
tree52040bc03951bb4819d8bfb356e674ab26d21417 /lib/tag_handlers.hpp
parente6616e6f0e39ba94b6afc5e31c433c42080a1d10 (diff)
downloadsandhi-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.hpp2
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)
{