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