summaryrefslogtreecommitdiff
path: root/sal/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-11 12:50:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-11 12:50:26 +0200
commitf8cb76ace55fa608f9a6b0f572ffc778cae5d0c4 (patch)
treefdbb910fb78267a5de39a1205ccd81586f3241e5 /sal/qa
parentd5cb535017888c2ea5494384092bc86175802454 (diff)
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: Ia7902a4bf2ec9bc995dfa065fe9e2eb092613683
Diffstat (limited to 'sal/qa')
-rw-r--r--sal/qa/rtl/process/rtl_Process.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/qa/rtl/process/rtl_Process.cxx b/sal/qa/rtl/process/rtl_Process.cxx
index 1cbfb58e073c..3c709f0550ea 100644
--- a/sal/qa/rtl/process/rtl_Process.cxx
+++ b/sal/qa/rtl/process/rtl_Process.cxx
@@ -187,10 +187,10 @@ void printUuidtoBuffer( sal_uInt8 *pNode, sal_Char * pBuffer )
sal_uInt8 nValue = pNode[i1];
if (nValue < 16)
{
- sprintf( (sal_Char *)(pBuffer + nPtr), "0");
+ sprintf( pBuffer + nPtr, "0");
nPtr++;
}
- sprintf( (sal_Char *)(pBuffer + nPtr), "%02x", nValue );
+ sprintf( pBuffer + nPtr, "%02x", nValue );
nPtr += 2 ;
}
}