From 8f748ce0703157c91ae891a2daf43ad34d6013c1 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Wed, 29 Aug 2012 11:55:01 -0400 Subject: [PATCH] Fix uint to be uint8 since otherwise it's undefined on a lot of platforms. --- BPTCEncoder/src/RGBAEndpoints.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BPTCEncoder/src/RGBAEndpoints.cpp b/BPTCEncoder/src/RGBAEndpoints.cpp index e7b11c0..c3fcf0b 100755 --- a/BPTCEncoder/src/RGBAEndpoints.cpp +++ b/BPTCEncoder/src/RGBAEndpoints.cpp @@ -108,7 +108,7 @@ static inline void clamp(ty &x, const ty &min, const ty &max) { // absolute distance. It turns out the compiler does a much // better job of optimizing this than we can, since we can't // translate the values to/from registers -static uint sad(uint8 a, uint8 b) { +static uint8 sad(uint8 a, uint8 b) { #if 0 __asm {