Merge pull request #1081 from lovell/composite-cpp-sentinel

Silence 'missing sentinel' warnings in GCC v6+
This commit is contained in:
John Cupitt 2018-09-04 11:06:16 +01:00 committed by GitHub
commit f9cbc7263d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1193,7 +1193,7 @@ vips_composite_base_build( VipsObject *object )
if( vips_embed( in[i], &position[i],
composite->x_offset[i - 1],
composite->y_offset[i - 1],
width, height, NULL ) )
width, height, (void *) NULL ) )
return( -1 );
in = position;