diff options
author | Sam Leffler <sam@engr.sgi.com> | 1996-04-09 17:37:14 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@codelibre.net> | 2022-06-22 18:38:21 +0100 |
commit | c205122210e4b59a8501753601b74e68acf37f00 (patch) | |
tree | 4fbd35bc45e442a766225fd1f2083eabc2515317 /tools/tiffdump.c | |
parent | 9b8fa7705c7d7aa31cef9c148e19cd59162f3519 (diff) | |
download | libtiff-git-c205122210e4b59a8501753601b74e68acf37f00.tar.gz |
v3.4beta032 releasev3.4beta032
Diffstat (limited to 'tools/tiffdump.c')
-rw-r--r-- | tools/tiffdump.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/tiffdump.c b/tools/tiffdump.c index c74f37a1..16a9f3a3 100644 --- a/tools/tiffdump.c +++ b/tools/tiffdump.c @@ -1,4 +1,4 @@ -/* $Header: /usr/people/sam/tiff/tools/RCS/tiffdump.c,v 1.48 1996/01/10 19:35:38 sam Exp $ */ +/* $Header: /usr/people/sam/tiff/tools/RCS/tiffdump.c,v 1.49 1996/03/29 16:38:33 sam Exp $ */ /* * Copyright (c) 1988-1996 Sam Leffler @@ -684,14 +684,18 @@ TIFFFetchData(int fd, TIFFDirEntry* dir, void* cp) break; case TIFF_LONG: case TIFF_SLONG: + case TIFF_FLOAT: TIFFSwabArrayOfLong((uint32*) cp, dir->tdir_count); break; case TIFF_RATIONAL: - case TIFF_DOUBLE: TIFFSwabArrayOfLong((uint32*) cp, 2*dir->tdir_count); break; + case TIFF_DOUBLE: + TIFFSwabArrayOfDouble((double*) cp, + dir->tdir_count); + break; } } return (cc); |