Avoid warnings.
This commit is contained in:
parent
02db2e03ba
commit
5568e312f7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user