OpenImageIO/oiio-size_t.patch
2014-05-20 15:28:54 -05:00

13 lines
551 B
Diff

diff -Naur oiio-Release-1.4.7.orig/src/dpx.imageio/libdpx/Writer.cpp oiio-Release-1.4.7/src/dpx.imageio/libdpx/Writer.cpp
--- oiio-Release-1.4.7.orig/src/dpx.imageio/libdpx/Writer.cpp 2014-05-19 15:20:32.000000000 -0500
+++ oiio-Release-1.4.7/src/dpx.imageio/libdpx/Writer.cpp 2014-05-20 07:04:17.940464785 -0500
@@ -140,7 +140,7 @@
bool dpx::Writer::WriteUserData(void *data)
{
- long size = this->header.UserSize();
+ size_t size = this->header.UserSize();
if (fd->Write(data, size) != size)
return false;
this->fileLoc += size;