Merge branch 'master' of github.com:libvips/libvips

This commit is contained in:
John Cupitt 2022-05-18 10:57:56 +01:00
commit c5ea747f71
2 changed files with 2 additions and 2 deletions

View File

@ -422,7 +422,7 @@ static int
vips_foreign_load_matrix_source_is_a_source( VipsSource *source ) vips_foreign_load_matrix_source_is_a_source( VipsSource *source )
{ {
unsigned char *data; unsigned char *data;
size_t bytes_read; gint64 bytes_read;
char line[80]; char line[80];
int width; int width;
int height; int height;

View File

@ -633,7 +633,7 @@ gboolean
vips_foreign_load_svg_source_is_a_source( VipsSource *source ) vips_foreign_load_svg_source_is_a_source( VipsSource *source )
{ {
unsigned char *data; unsigned char *data;
size_t bytes_read; gint64 bytes_read;
if( (bytes_read = vips_source_sniff_at_most( source, if( (bytes_read = vips_source_sniff_at_most( source,
&data, SVG_HEADER_SIZE )) <= 0 ) &data, SVG_HEADER_SIZE )) <= 0 )