Fixed typeshift and typemask arrays initialization problem as per bug

http://bugzilla.remotesensing.org/show_bug.cgi?id=946
This commit is contained in:
Andrey Kiselev 2005-10-31 13:08:19 +00:00
parent 85c3925771
commit 8c703c1e6e

View File

@ -1,4 +1,4 @@
/* $Id: tiffdump.c,v 1.11 2005-09-28 12:10:22 dron Exp $ */ /* $Id: tiffdump.c,v 1.12 2005-10-31 13:08:19 dron Exp $ */
/* /*
* Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1988-1997 Sam Leffler
@ -56,8 +56,8 @@ char* appname;
char* curfile; char* curfile;
int swabflag; int swabflag;
int bigendian; int bigendian;
int typeshift[13]; /* data type shift counts */ int typeshift[14]; /* data type shift counts */
long typemask[13]; /* data type masks */ long typemask[14]; /* data type masks */
uint32 maxitems = 24; /* maximum indirect data items to print */ uint32 maxitems = 24; /* maximum indirect data items to print */
char* bytefmt = "%s%#02x"; /* BYTE */ char* bytefmt = "%s%#02x"; /* BYTE */