summaryrefslogtreecommitdiff
path: root/sot/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:01 +0200
commit54bac4ddafbf330ad2ab17d69f09d5f67664d01b (patch)
treed1a9b1e9d7009e88fc3ea6be657b481a0b32b7c2 /sot/qa
parent42590fd2aa73c77c07b62ef1dcc823e17f6bb1e9 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I82142b0a0fabf9492ce4c4b9ebf4fded4af5a82d
Diffstat (limited to 'sot/qa')
-rw-r--r--sot/qa/cppunit/test_sot.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/qa/cppunit/test_sot.cxx b/sot/qa/cppunit/test_sot.cxx
index f3c55157e147..804005a40bdf 100644
--- a/sot/qa/cppunit/test_sot.cxx
+++ b/sot/qa/cppunit/test_sot.cxx
@@ -62,7 +62,7 @@ namespace
CPPUNIT_ASSERT_MESSAGE( "check size #2", xStream->remainingSize() == nSize );
// Read as much as we can, a corrupted FAT chain can cause real grief here
- nReadableSize = xStream->Read( (void *)pData, nSize );
+ nReadableSize = xStream->Read( static_cast<void *>(pData), nSize );
// fprintf(stderr, "readable size %d vs size %d remaining %d\n", nReadableSize, nSize, nReadableSize);
}
{ // Read the data backwards as well