ChatLine::layout(), if it is built with qmake in release mode.
Changing the type of i from int to uint fixes this.
Nope, I don't see a rational explanation for that.
line.y = 0;
line.start = 0;
line.height = minHeight; // first line needs room for ts and sender
- for(int i = 0; i < words.count(); i++) {
+ for(uint i = 0; i < (uint)words.count(); i++) {
int lastpos = charPos[words[i].start + words[i].length]; // We use charPos[lastchar + 1], 'coz last char needs to fit
if(lastpos - offset <= textw) {
line.height = qMax(line.height, words[i].height);