fix warning in rect hash

This commit is contained in:
John Cupitt 2019-08-03 04:03:43 +01:00
parent 3c8a9815ba
commit 2a094995a3

View File

@ -418,7 +418,7 @@ vips_rect_hash( VipsRect *pos )
* X discrimination is more important than Y, since
* most tiles will have a similar Y.
*/
hash = pos->left ^ VIPS_LSHIFT_INT( pos->top, 16 );
hash = (guint) pos->left ^ ((guint) pos->top << 16);
return( hash );
}