зеркало из https://github.com/mozilla/mozjpeg.git
Compiler warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@760 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
Коммит
fb6c27e4e2
|
@ -182,7 +182,7 @@ compute_reciprocal (UINT16 divisor, DCTELEM * dtbl)
|
|||
/* 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++;
|
||||
|
|
|
@ -104,7 +104,7 @@ init_simd (void)
|
|||
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;
|
||||
|
|
|
@ -41,7 +41,7 @@ init_simd (void)
|
|||
{
|
||||
char *env = NULL;
|
||||
|
||||
if (simd_support != ~0)
|
||||
if (simd_support != ~0U)
|
||||
return;
|
||||
|
||||
simd_support = jpeg_simd_cpu_support();
|
||||
|
|
Загрузка…
Ссылка в новой задаче