use ll in chunk size computation
@@ -626,7 +626,7 @@ MultiPartInputFile::Data::chunkOffsetReconstruction(OPENEXR_IMF_INTERNAL_NAMESPA
OPENEXR_IMF_INTERNAL_NAMESPACE::Xdr::read <OPENEXR_IMF_INTERNAL_NAMESPACE::StreamIO> (is, packed_sample);
//add 40 byte header to packed sizes (tile coordinates, packed sizes, unpacked size)
- size_of_chunk=packed_offset+packed_sample + 40l;
+ size_of_chunk=packed_offset+packed_sample + 40ll;
}
else
{
@@ -634,7 +634,7 @@ MultiPartInputFile::Data::chunkOffsetReconstruction(OPENEXR_IMF_INTERNAL_NAMESPA
// regular image has 20 bytes of header, 4 byte chunksize;
int chunksize;
OPENEXR_IMF_INTERNAL_NAMESPACE::Xdr::read <OPENEXR_IMF_INTERNAL_NAMESPACE::StreamIO> (is, chunksize);
- size_of_chunk=static_cast<Int64>(chunksize) + 20l;
+ size_of_chunk=static_cast<Int64>(chunksize) + 20ll;
}
}
else
@@ -665,13 +665,13 @@ MultiPartInputFile::Data::chunkOffsetReconstruction(OPENEXR_IMF_INTERNAL_NAMESPA
OPENEXR_IMF_INTERNAL_NAMESPACE::Xdr::read <OPENEXR_IMF_INTERNAL_NAMESPACE::StreamIO> (is, packed_sample);
- size_of_chunk=packed_offset+packed_sample + 28l;
+ size_of_chunk=packed_offset+packed_sample + 28ll;
}
else
{
int chunksize;
OPENEXR_IMF_INTERNAL_NAMESPACE::Xdr::read <OPENEXR_IMF_INTERNAL_NAMESPACE::StreamIO> (is, chunksize);
- size_of_chunk=static_cast<Int64>(chunksize) + 8l;
+ size_of_chunk=static_cast<Int64>(chunksize) + 8ll;
}
}
