2007.01.19 02:51 "[Tiff] tif_data alignment problem", by Matthew Longnecker


In struct tiff, the tif_data member has type tidata_t (which is really a pointer to an unsigned char). However, it appears that all uses of tif_data treat it as a TIFFPredictorState*.

I'm getting warnings about a cast increasing required alignment type in the TIFFTAG_PREDICTOR case of TIFFVGetFieldDefaulted. Would it be possible to change the type of tif_data so that these warnings go away?


----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.