diff options
author | dron <dron> | 2005-04-08 10:15:37 +0000 |
---|---|---|
committer | dron <dron> | 2005-04-08 10:15:37 +0000 |
commit | 8aab8b640a2f992e736b5ceae3bd61dce6dc153d (patch) | |
tree | 98d2c202728749b27bb8de40ffc5748f8314881e /libtiff/tiffiop.h | |
parent | 95a2b51d6a4173cd0c2f8b284d6ec8cf52345fe8 (diff) | |
download | libtiff-8aab8b640a2f992e736b5ceae3bd61dce6dc153d.tar.gz |
Use uint32 type for appropriate values in _TIFFVSetField() function. Inspired
by the bug http://bugzilla.remotesensing.org/show_bug.cgi?id=816
Diffstat (limited to 'libtiff/tiffiop.h')
-rw-r--r-- | libtiff/tiffiop.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/libtiff/tiffiop.h b/libtiff/tiffiop.h index d3041577..ef3ba95e 100644 --- a/libtiff/tiffiop.h +++ b/libtiff/tiffiop.h @@ -1,4 +1,4 @@ -/* $Id: tiffiop.h,v 1.30 2005-03-17 14:41:46 dron Exp $ */ +/* $Id: tiffiop.h,v 1.31 2005-04-08 10:15:37 dron Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -50,6 +50,10 @@ # define assert(x) #endif +#ifdef HAVE_SEARCH_H +# include <search.h> +#endif + #include "tiffio.h" #include "tif_dir.h" @@ -245,12 +249,12 @@ extern uint32 _TIFFDefaultStripSize(TIFF*, uint32); extern void _TIFFDefaultTileSize(TIFF*, uint32*, uint32*); extern int _TIFFDataSize(TIFFDataType); -extern void _TIFFsetByteArray(void**, void*, long); +extern void _TIFFsetByteArray(void**, void*, uint32); extern void _TIFFsetString(char**, char*); -extern void _TIFFsetShortArray(uint16**, uint16*, long); -extern void _TIFFsetLongArray(uint32**, uint32*, long); -extern void _TIFFsetFloatArray(float**, float*, long); -extern void _TIFFsetDoubleArray(double**, double*, long); +extern void _TIFFsetShortArray(uint16**, uint16*, uint32); +extern void _TIFFsetLongArray(uint32**, uint32*, uint32); +extern void _TIFFsetFloatArray(float**, float*, uint32); +extern void _TIFFsetDoubleArray(double**, double*, uint32); extern void _TIFFprintAscii(FILE*, const char*); extern void _TIFFprintAsciiTag(FILE*, const char*, const char*); |