vcl/opengl/salbmp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 086aec27ddfd72dc21fffb0466cb5c815e2b4169 Author: Tor Lillqvist <t...@collabora.com> Date: Tue Sep 1 20:04:43 2015 +0300 WaE: C-style cast from const sal_uInt64 * to sal_uInt8 * [loplugin:cstylecast] Change-Id: I2ab166ab0286213bf61f83fc257a3cc7123413c6 diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx index 30ef71f..ee71ade 100644 --- a/vcl/opengl/salbmp.cxx +++ b/vcl/opengl/salbmp.cxx @@ -514,7 +514,7 @@ bool OpenGLSalBitmap::calcChecksumGL(OpenGLTexture& rInputTexture, ChecksumType& OUString FragShader("areaHashCRC64TFragmentShader"); static const OpenGLTexture aCRCTableTexture(512, 1, GL_RGBA, GL_UNSIGNED_BYTE, - (sal_uInt8*)(vcl_get_crc64_table())); + const_cast<sal_uInt8*>(reinterpret_cast<const sal_uInt8*>(vcl_get_crc64_table()))); // First Pass _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits