Silence C++ missing sentinel warning (#2563)

This commit is contained in:
Lovell Fuller 2021-11-29 14:20:26 +00:00 committed by GitHub
parent 9cd2bd1196
commit de199fe59c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -733,7 +733,7 @@ VImage::write_to_buffer( const char *suffix, void **buf, size_t *size,
set( "in", *this )->
set( "target", target ) );
g_object_get( target.get_target(), "blob", &blob, NULL );
g_object_get( target.get_target(), "blob", &blob, (void *) NULL );
}
else if( (operation_name = vips_foreign_find_save_buffer( filename )) ) {
call_option_string( operation_name, option_string,