summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorerouault <erouault>2016-07-10 16:56:18 +0000
committererouault <erouault>2016-07-10 16:56:18 +0000
commita66cd88a76782d026f20a834ae03bcea0fb309a1 (patch)
tree800ef5e9c1f34dfe682141df74d4605e929d2704 /tools
parentca491a91801930d51b9f4431d07d4fa3534e8a10 (diff)
downloadlibtiff-a66cd88a76782d026f20a834ae03bcea0fb309a1.tar.gz
Fix build failure due to previous commit
Diffstat (limited to 'tools')
-rw-r--r--tools/tiffdump.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/tiffdump.c b/tools/tiffdump.c
index 51d6c571..dc84b461 100644
--- a/tools/tiffdump.c
+++ b/tools/tiffdump.c
@@ -1,4 +1,4 @@
-/* $Id: tiffdump.c,v 1.33 2016-07-10 15:34:07 erouault Exp $ */
+/* $Id: tiffdump.c,v 1.34 2016-07-10 16:56:18 erouault Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@@ -771,12 +771,13 @@ PrintData(FILE* fd, uint16 type, uint32 count, unsigned char* data)
}
case TIFF_SLONG8: {
int64 *llp = (int64*)data;
- while (count-- > 0)
+ while (count-- > 0) {
int64 val;
memcpy(&val, llp, sizeof(int64));
llp ++;
fprintf(fd, slong8fmt, sep, val);
sep = " ";
+ }
break;
}
case TIFF_RATIONAL: {