aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libtiff/patches/04_fix_null_count.patch
blob: cdbc3cd26e25b6ad6b122f9d7db68d2f5b8900ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- contrib/libs/libtiff/tif_dir.c	(index)
+++ contrib/libs/libtiff/tif_dir.c	(working tree)
@@ -807,7 +807,7 @@ static int _TIFFVSetField(TIFF *tif, uint32_t tag, va_list ap)
                 if (tv->count == 0)
                 {
                     status = 0;
-                    TIFFErrorExtR(tif, module,
+                    TIFFWarningExtR(tif, module,
                                   "%s: Null count for \"%s\" (type "
                                   "%d, writecount %d, passcount %d)",
                                   tif->tif_name, fip->field_name,