summaryrefslogtreecommitdiff
path: root/src/mtrie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mtrie.cpp')
-rw-r--r--src/mtrie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mtrie.cpp b/src/mtrie.cpp
index 1c96c98..65b4fe8 100644
--- a/src/mtrie.cpp
+++ b/src/mtrie.cpp
@@ -171,7 +171,7 @@ void zmq::mtrie_t::rm_helper (pipe_t *pipe_, unsigned char **buff_,
}
// 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]->rm_helper (pipe_, buff_, buffsize_ + 1,