diff options
author | bfriesen <bfriesen> | 2015-05-28 03:52:00 +0000 |
---|---|---|
committer | bfriesen <bfriesen> | 2015-05-28 03:52:00 +0000 |
commit | f107f74ffa72ddfdf620c6a8c7ebc682aefd0d90 (patch) | |
tree | 41df86a0d91169885cf42ecfb550b50109f8496d /tools | |
parent | 3657ac38ba842cbaad76ae521de9f3142836cc8d (diff) | |
download | libtiff-f107f74ffa72ddfdf620c6a8c7ebc682aefd0d90.tar.gz |
(main): Fix Coverity 1301206: "Integer handling issues (BAD_SHIFT)".
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ras2tiff.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/ras2tiff.c b/tools/ras2tiff.c index 5dd646c7..c092705b 100644 --- a/tools/ras2tiff.c +++ b/tools/ras2tiff.c @@ -1,4 +1,4 @@ -/* $Id: ras2tiff.c,v 1.19 2015-05-28 03:30:42 bfriesen Exp $ */ +/* $Id: ras2tiff.c,v 1.20 2015-05-28 03:52:00 bfriesen Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -135,8 +135,7 @@ main(int argc, char* argv[]) } if ((h.ras_depth != 1) && (h.ras_depth != 8) && - (h.ras_depth != 24) && - (h.ras_depth != 32)) { + (h.ras_depth != 24)) { fprintf(stderr, "%s: Improper image depth (%d).\n", argv[optind], h.ras_depth); fclose(in); |