summaryrefslogtreecommitdiff
path: root/libtiff/tif_print.c
diff options
context:
space:
mode:
authordron <dron>2005-04-08 09:50:55 +0000
committerdron <dron>2005-04-08 09:50:55 +0000
commite373d37653cdcf6f24182958f8423060c5dc3ebf (patch)
tree129715e96a60831bc688217f939474468f10a444 /libtiff/tif_print.c
parent1bd64adf29cbb227fac83256f1c6b6a204822995 (diff)
downloadlibtiff-e373d37653cdcf6f24182958f8423060c5dc3ebf.tar.gz
Avoid warnings.
Diffstat (limited to 'libtiff/tif_print.c')
-rw-r--r--libtiff/tif_print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtiff/tif_print.c b/libtiff/tif_print.c
index 5d812ea7..2ec77579 100644
--- a/libtiff/tif_print.c
+++ b/libtiff/tif_print.c
@@ -1,4 +1,4 @@
-/* $Id: tif_print.c,v 1.22 2005-03-21 10:17:37 dron Exp $ */
+/* $Id: tif_print.c,v 1.23 2005-04-08 09:50:55 dron Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@@ -549,7 +549,7 @@ TIFFPrintDirectory(TIFF* tif, FILE* fd, long flags)
fprintf(fd, "%d", (int)((short *) raw_data)[j]);
else if(fip->field_type == TIFF_LONG)
fprintf(fd, "%lu",
- (int)((unsigned long *) raw_data)[j]);
+ (unsigned long)((unsigned long *) raw_data)[j]);
else if(fip->field_type == TIFF_SLONG)
fprintf(fd, "%ld", (long)((long *) raw_data)[j]);
else if(fip->field_type == TIFF_RATIONAL