diff --git a/libvips/resample/reduceh.cpp b/libvips/resample/reduceh.cpp index 8fbfc7da..4ba850d3 100644 --- a/libvips/resample/reduceh.cpp +++ b/libvips/resample/reduceh.cpp @@ -506,12 +506,12 @@ vips_reduceh_build( VipsObject *object ) reduceh->n_point / 2 - 1, 0, width, in->Ysize, "extend", VIPS_EXTEND_COPY, - NULL ) ) + (void *) NULL ) ) return( -1 ); in = t[1]; if( vips_image_pipelinev( resample->out, - VIPS_DEMAND_STYLE_THINSTRIP, in, NULL ) ) + VIPS_DEMAND_STYLE_THINSTRIP, in, (void *) NULL ) ) return( -1 ); /* Size output. We need to always round to nearest, so round(), not diff --git a/libvips/resample/reducev.cpp b/libvips/resample/reducev.cpp index 42b31533..24671621 100644 --- a/libvips/resample/reducev.cpp +++ b/libvips/resample/reducev.cpp @@ -787,7 +787,7 @@ vips_reducev_raw( VipsReducev *reducev, VipsImage *in, VipsImage **out ) *out = vips_image_new(); if( vips_image_pipelinev( *out, - VIPS_DEMAND_STYLE_FATSTRIP, in, NULL ) ) + VIPS_DEMAND_STYLE_FATSTRIP, in, (void *) NULL ) ) return( -1 ); /* Size output. We need to always round to nearest, so round(), not @@ -870,7 +870,7 @@ vips_reducev_build( VipsObject *object ) 0, reducev->n_point / 2 - 1, in->Xsize, height, "extend", VIPS_EXTEND_COPY, - NULL ) ) + (void *) NULL ) ) return( -1 ); in = t[1]; @@ -894,7 +894,7 @@ vips_reducev_build( VipsObject *object ) if( vips_sequential( in, &t[3], "tile_height", 10, // "trace", TRUE, - NULL ) ) + (void *) NULL ) ) return( -1 ); in = t[3]; }