summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-09-01 20:04:43 +0300
committerTor Lillqvist <tml@collabora.com>2015-09-01 20:04:59 +0300
commit086aec27ddfd72dc21fffb0466cb5c815e2b4169 (patch)
tree64aca671832ee8fe61660af47847e64aa34e91db
parente96b8bd4d4fd4bce48bacf69bed5d5fe10237dec (diff)
WaE: C-style cast from const sal_uInt64 * to sal_uInt8 * [loplugin:cstylecast]
Change-Id: I2ab166ab0286213bf61f83fc257a3cc7123413c6
-rw-r--r--vcl/opengl/salbmp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx
index 30ef71f171d3..ee71aded8cf4 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