summaryrefslogtreecommitdiff
path: root/src/trie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/trie.cpp')
-rw-r--r--src/trie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trie.cpp b/src/trie.cpp
index 9718c77..d53a135 100644
--- a/src/trie.cpp
+++ b/src/trie.cpp
@@ -219,7 +219,7 @@ void zmq::trie_t::apply_helper (
}
// If there are multiple subnodes.
- for (unsigned char c = 0; c != count; c++) {
+ for (unsigned short c = 0; c != count; c++) {
(*buff_) [buffsize_] = min + c;
if (next.table [c])
next.table [c]->apply_helper (buff_, buffsize_ + 1, maxbuffsize_,