Compiler warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@758 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
@@ -182,7 +182,7 @@ compute_reciprocal (UINT16 divisor, DCTELEM * dtbl)
|
|||||||
/* fq will be one bit too large to fit in DCTELEM, so adjust */
|
/* fq will be one bit too large to fit in DCTELEM, so adjust */
|
||||||
fq >>= 1;
|
fq >>= 1;
|
||||||
r--;
|
r--;
|
||||||
} else if (fr <= (divisor / 2)) { /* fractional part is < 0.5 */
|
} else if (fr <= (divisor / 2U)) { /* fractional part is < 0.5 */
|
||||||
c++;
|
c++;
|
||||||
} else { /* fractional part is > 0.5 */
|
} else { /* fractional part is > 0.5 */
|
||||||
fq++;
|
fq++;
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ init_simd (void)
|
|||||||
int bufsize = 1024; /* an initial guess for the line buffer size limit */
|
int bufsize = 1024; /* an initial guess for the line buffer size limit */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (simd_support != ~0)
|
if (simd_support != ~0U)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
simd_support = 0;
|
simd_support = 0;
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ init_simd (void)
|
|||||||
{
|
{
|
||||||
char *env = NULL;
|
char *env = NULL;
|
||||||
|
|
||||||
if (simd_support != ~0)
|
if (simd_support != ~0U)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
simd_support = jpeg_simd_cpu_support();
|
simd_support = jpeg_simd_cpu_support();
|
||||||
|
|||||||
Reference in New Issue
Block a user