From de199fe59cde38290709c7eb0d25406daa1314d7 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Mon, 29 Nov 2021 14:20:26 +0000 Subject: [PATCH] Silence C++ missing sentinel warning (#2563) --- cplusplus/VImage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cplusplus/VImage.cpp b/cplusplus/VImage.cpp index 5a08d80f..b3e8476b 100644 --- a/cplusplus/VImage.cpp +++ b/cplusplus/VImage.cpp @@ -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,