Taking the absolute value of unsigned values is pointless, as reported
by clang:
util.cxx:1545:28: error: taking the absolute value of unsigned type 'unsigned long' has no effect [-Werror,-Wabsolute-value]
unsigned min_score = labs(target.size() - it->size());
^
util.cxx:1545:28: note: remove the call to 'labs' since unsigned values cannot be negative
unsigned min_score = labs(target.size() - it->size());
// Approximate levenshtein by size-difference only; real score
// is at least this high
- unsigned min_score = labs(target.size() - it->size());
+ unsigned min_score = abs(static_cast<signed>(target.size()) - static_cast<signed>(it->size()));
if (min_score > threshold) // min-score too high for threshold
continue;