default: mode = wxFromCurrent; break;
}
- return (toff_t)stream->SeekI( (off_t)off, mode );
+ return (toff_t)stream->SeekI( (wxFileOffset)off, mode );
}
toff_t TIFFLINKAGEMODE
default: mode = wxFromCurrent; break;
}
- return (toff_t)stream->SeekO( (off_t)off, mode );
+ return (toff_t)stream->SeekO( (wxFileOffset)off, mode );
}
int TIFFLINKAGEMODE
{
unsigned char hdr[2];
- if ( !stream.Read(&hdr, WXSIZEOF(hdr)) )
+ if ( !stream.Read(&hdr[0], WXSIZEOF(hdr)) )
return false;
return (hdr[0] == 'I' && hdr[1] == 'I') ||