Fix regression in Qt5 32bit

warning: comparison is always false due to limited range of data type [-Wtype-limits]

It's good to have CI :)