uint wt_node_leaf::rankLessThan(uint &symbol, uint pos) {
// std::cout <<"this-symbol: " << (uchar)this->symbol << ", symbol = " << (uchar)symbol << ", pos = " << pos << std::endl;
- if (pos == -1)
+ if (pos == (uint)-1)
return -1;
symbol = this->symbol;
pos++;