1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-11-24 08:12:38 +02:00

Update vips.c

When compiling from source on Ubuntu we get an error: 

# github.com/imgproxy/imgproxy/v3/vips
vips.c: In function ‘vips_fix_float_tiff’:
vips.c:247:3: warning: not enough variable arguments to fit a sentinel [-Wformat=]
  247 |   return vips_copy(in, out);
      |   ^~~~~~

vips_copy has more arguments and call needs to be terminated with null pointer.

This fixes that problem.
This commit is contained in:
Marko Banusic 2023-09-07 16:51:50 +02:00 committed by GitHub
parent 1db4320356
commit 128b3c6f4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,7 +244,7 @@ vips_fix_float_tiff(VipsImage *in, VipsImage **out) {
)
return vips_fix_BW_float_tiff(in, out);
return vips_copy(in, out);
return vips_copy(in, out, NULL);
}
int