fix a possible int overflow

This commit is contained in:
John Cupitt 2019-08-03 21:14:19 +01:00
parent 2a094995a3
commit 2841504fa0
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ vips_shrinkv_write_line( VipsShrinkv *shrink, VipsShrinkvSequence *seq,
case VIPS_FORMAT_SHORT:
IAVG( short, int ); break;
case VIPS_FORMAT_UINT:
IAVG( unsigned int, int ); break;
IAVG( unsigned int, guint64 ); break;
case VIPS_FORMAT_INT:
IAVG( int, gint64 ); break;
case VIPS_FORMAT_FLOAT: