# HG changeset patch
# User Min Chen <[email protected]>
# Date 1395969280 25200
# Node ID c36f82263eae3f2953f2eb2bdc386077af2ae3cd
# Parent  8e0c2d24fc45aecc17c3d8c131c1a0d8a67e342a
avoid warning about compare between signed and unsigned

diff -r 8e0c2d24fc45 -r c36f82263eae source/Lib/TLibCommon/TComTrQuant.h
--- a/source/Lib/TLibCommon/TComTrQuant.h       Wed Mar 26 22:39:01 2014 -0500
+++ b/source/Lib/TLibCommon/TComTrQuant.h       Thu Mar 27 18:14:40 2014 -0700
@@ -192,7 +192,7 @@
         else
         {
             result.firstSignificanceMapContext = (ctype ? 12 : 21);
-            assert(significanceMapContextSetStart[ctype][CONTEXT_TYPE_NxN] == 
(ctype ? 12 : 21));
+            assert(significanceMapContextSetStart[ctype][CONTEXT_TYPE_NxN] == 
(uint32_t)(ctype ? 12 : 21));
         }
     }
     estBitsSbacStruct* m_estBitsSbac;

_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to