diff --git a/code/Drawing/Formats/ImageFormatExr.cpp b/code/Drawing/Formats/ImageFormatExr.cpp index 397abe34b7..3220645217 100644 --- a/code/Drawing/Formats/ImageFormatExr.cpp +++ b/code/Drawing/Formats/ImageFormatExr.cpp @@ -73,7 +73,7 @@ bool ImageFormatExr::write(IStream* stream, const Image* image) img->getHeight(), 4, 0, - (const unsigned char**)&buffer, + (unsigned char**)&buffer, nullptr ); if (size <= 0)