From db0e192e5edde7465466be1365a70bfd907c0341 Mon Sep 17 00:00:00 2001 From: mayeut Date: Sat, 23 Apr 2016 02:30:44 +0200 Subject: [PATCH] Fix warnings --- src/bin/jp2/converttif.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/jp2/converttif.c b/src/bin/jp2/converttif.c index d26b871f..2b7192df 100644 --- a/src/bin/jp2/converttif.c +++ b/src/bin/jp2/converttif.c @@ -103,7 +103,7 @@ static void tif_32sto3u(const OPJ_INT32* pSrc, OPJ_BYTE* pDst, OPJ_SIZE_T length } if (length & 7U) { - OPJ_BYTE trailing = 0U; + unsigned int trailing = 0U; int remaining = 8U; length &= 7U; PUTBITS((OPJ_UINT32)pSrc[i+0], 3) @@ -152,7 +152,7 @@ static void tif_32sto5u(const OPJ_INT32* pSrc, OPJ_BYTE* pDst, OPJ_SIZE_T length } if (length & 7U) { - OPJ_BYTE trailing = 0U; + unsigned int trailing = 0U; int remaining = 8U; length &= 7U; PUTBITS((OPJ_UINT32)pSrc[i+0], 5) @@ -202,7 +202,7 @@ static void tif_32sto7u(const OPJ_INT32* pSrc, OPJ_BYTE* pDst, OPJ_SIZE_T length } if (length & 7U) { - OPJ_BYTE trailing = 0U; + unsigned int trailing = 0U; int remaining = 8U; length &= 7U; PUTBITS((OPJ_UINT32)pSrc[i+0], 7) @@ -254,7 +254,7 @@ static void tif_32sto9u(const OPJ_INT32* pSrc, OPJ_BYTE* pDst, OPJ_SIZE_T length } if (length & 7U) { - OPJ_BYTE trailing = 0U; + unsigned int trailing = 0U; int remaining = 8U; length &= 7U; PUTBITS2((OPJ_UINT32)pSrc[i+0], 9)