[x265] [PATCH 1 of 2] avoid warning about compare between signed and unsigned

Steve Borho steve at borho.org
Fri Mar 28 06:10:29 CET 2014


On Thu, Mar 27, 2014 at 8:15 PM, Min Chen <chenm003 at 163.com> wrote:
> # HG changeset patch
> # User Min Chen <chenm003 at 163.com>
> # 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));

I fixed this maybe an hour before you did, thanks

>          }
>      }
>      estBitsSbacStruct* m_estBitsSbac;
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel



-- 
Steve Borho


More information about the x265-devel mailing list