AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1994.08.26 20:39 "alpha bug report", by Ron Steriti
1994.08.26 22:18 "Re: alpha bug report", by Dan McCoy

1994.08.26 22:18 "Re: alpha bug report", by Dan McCoy

I'm having trouble with the alpha version,

void ReadTIFF ( char *filename, Matrix *in )

{
  
  TIFF       *tif;
  char       *buf;
  int       row, column;
  tsample_t  sample;
  unsigned long  imagelength, imagewidth;

Longs are 64 bits on the alpha, not 32. (at least under OSF) Try:

   uint32 imagelength, imagewidth;

uint32 should be defined as unsigned int on the alpha (you should double check your version)

Dan McCoy        Pixar      mccoy@pixar.com