diff --git a/libvips/conversion/tilecache.c b/libvips/conversion/tilecache.c index dae7e440..3ab20d1a 100644 --- a/libvips/conversion/tilecache.c +++ b/libvips/conversion/tilecache.c @@ -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 ); }