From b588729740b2b829d6e2ac6b6edd188de7da0e55 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 22 May 2017 08:21:44 -0700 Subject: [PATCH] cosmetics,FindClosestDiscretized: use uint in mask creation Change-Id: Ib1edd74be1c051c10cfe2defadbea48cabe15135 --- src/enc/near_lossless_enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enc/near_lossless_enc.c b/src/enc/near_lossless_enc.c index 307528cc..1bef62b7 100644 --- a/src/enc/near_lossless_enc.c +++ b/src/enc/near_lossless_enc.c @@ -27,7 +27,7 @@ // Quantizes the value up or down to a multiple of 1<> 1) + ((a >> bits) & 1); assert(bits > 0); if (biased > 0xff) return 0xff;