From 0ca2917caacadc8f368bd5043f64dcefb8ebed38 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Mon, 10 Mar 2014 15:02:43 -0400 Subject: [PATCH] Fix some small compiler warnings. --- PVRTCEncoder/src/Compressor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVRTCEncoder/src/Compressor.cpp b/PVRTCEncoder/src/Compressor.cpp index 8fea0ed..e67c4e8 100644 --- a/PVRTCEncoder/src/Compressor.cpp +++ b/PVRTCEncoder/src/Compressor.cpp @@ -486,11 +486,11 @@ namespace PVRTCC { minHighDist = ::std::min(minHighDist, labels[cidx].highLabel.distance); } - if(minLowDist != labels[idx].lowLabel.distance - 1) { + if(static_cast(minLowDist) != labels[idx].lowLabel.distance - 1) { labels[idx].lowLabel.nLabels = 0; } - if(minHighDist != labels[idx].highLabel.distance - 1) { + if(static_cast(minHighDist) != labels[idx].highLabel.distance - 1) { labels[idx].highLabel.nLabels = 0; }