Fix some small compiler warnings.

This commit is contained in:
Pavel Krajcevski 2014-03-10 15:02:43 -04:00
parent 267a959f75
commit 0ca2917caa

View file

@ -486,11 +486,11 @@ namespace PVRTCC {
minHighDist = ::std::min<uint32>(minHighDist, labels[cidx].highLabel.distance);
}
if(minLowDist != labels[idx].lowLabel.distance - 1) {
if(static_cast<int32>(minLowDist) != labels[idx].lowLabel.distance - 1) {
labels[idx].lowLabel.nLabels = 0;
}
if(minHighDist != labels[idx].highLabel.distance - 1) {
if(static_cast<int32>(minHighDist) != labels[idx].highLabel.distance - 1) {
labels[idx].highLabel.nLabels = 0;
}