Changed the int8 definition to be always signed char as per bug

http://bugzilla.remotesensing.org/show_bug.cgi?id=727
This commit is contained in:
Andrey Kiselev 2005-02-04 12:25:10 +00:00
parent 398724965a
commit 9b9b9953e0

View File

@ -1,4 +1,4 @@
/* $Id: tiff.h,v 1.30 2005-02-01 04:37:15 bfriesen Exp $ */ /* $Id: tiff.h,v 1.31 2005-02-04 12:25:10 dron Exp $ */
/* /*
* Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1988-1997 Sam Leffler
@ -77,11 +77,7 @@ typedef unsigned int uint32;
#ifndef _TIFF_DATA_TYPEDEFS_ #ifndef _TIFF_DATA_TYPEDEFS_
#define _TIFF_DATA_TYPEDEFS_ #define _TIFF_DATA_TYPEDEFS_
#ifdef __STDC__
typedef signed char int8; /* NB: non-ANSI compilers may not grok */ typedef signed char int8; /* NB: non-ANSI compilers may not grok */
#else
typedef char int8;
#endif
typedef unsigned char uint8; typedef unsigned char uint8;
typedef short int16; typedef short int16;
typedef unsigned short uint16; /* sizeof (uint16) must == 2 */ typedef unsigned short uint16; /* sizeof (uint16) must == 2 */