1 --- OpenImageIO-oiio-f4d79c0/src/dpx.imageio/dpxinput.cpp.orig 2013-07-14 17:33:27.426142801 +0200
2 +++ OpenImageIO-oiio-f4d79c0/src/dpx.imageio/dpxinput.cpp 2013-07-14 18:10:42.519382338 +0200
4 m_spec.attribute ("dpx:FilmEdgeCode", buf);
7 - switch (m_dpx.header.Signal ()) {
8 + switch ((int)m_dpx.header.Signal ()) {
13 --- OpenImageIO-oiio-4070df8/src/libtexture/texturesys.cpp~ 2015-12-19 07:44:03.000000000 +0100
14 +++ OpenImageIO-oiio-4070df8/src/libtexture/texturesys.cpp 2015-12-26 10:38:06.735886871 +0100
16 int pixelsize = tile->pixelsize();
17 int offset = pixelsize * (tile_t * spec.tile_width + tile_s);
18 offset += (firstchannel - id.chbegin()) * channelsize;
19 - DASSERT ((size_t)offset < spec.tile_width*spec.tile_height*spec.tile_depth*pixelsize);
20 + DASSERT ((size_t)offset < (size_t)spec.tile_width*spec.tile_height*spec.tile_depth*pixelsize);
21 if (pixeltype == TypeDesc::UINT8)
22 texel_simd[j][i] = uchar2float4 ((const unsigned char *)(tile->bytedata() + offset));
23 else if (pixeltype == TypeDesc::UINT16)