projects
/
imagemagick
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5991930
)
Corrected typecast.
author
Dirk Lemstra
<dirk@git.imagemagick.org>
Sun, 19 Aug 2018 21:49:58 +0000
(23:49 +0200)
committer
Dirk Lemstra
<dirk@git.imagemagick.org>
Sun, 19 Aug 2018 21:49:58 +0000
(23:49 +0200)
coders/tiff.c
patch
|
blob
|
history
diff --git
a/coders/tiff.c
b/coders/tiff.c
index 36877488d1d6dde1b23f41fc030927e5df9ca2ca..7baf2e1f9d937deccc5d4ae096be555b16b5d610 100644
(file)
--- a/
coders/tiff.c
+++ b/
coders/tiff.c
@@
-3879,7
+3879,7
@@
static MagickBooleanType WriteTIFFImage(const ImageInfo *image_info,
}
option=GetImageOption(image_info,"tiff:predictor");
if (option != (const char * ) NULL)
- predictor=(
size_t
) strtol(option,(char **) NULL,10);
+ predictor=(
uint16
) strtol(option,(char **) NULL,10);
if (predictor != 0)
(void) TIFFSetField(tiff,TIFFTAG_PREDICTOR,predictor);
if ((image->resolution.x != 0.0) && (image->resolution.y != 0.0))