summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-09-28 11:56:03 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2016-10-02 08:20:44 +0000
commitd866c3af42bb32a328ce2fd7e460744e28efd08d (patch)
tree9e06c5d2b131d7b54d552c9655abf944882d0b3a /winaccessibility
parenta9483f7105b58b6d78c06aa5b3e6e4a3466ae8dc (diff)
cppcheck invalidPrintfArgType
signedness and long vs int corrections Change-Id: I67c6b9e05b16f5d8d4693879f1656db50dc7ec48 Reviewed-on: https://gerrit.libreoffice.org/29355 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/source/UAccCOM/AccTextBase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/winaccessibility/source/UAccCOM/AccTextBase.cxx b/winaccessibility/source/UAccCOM/AccTextBase.cxx
index 705e968b293e..fed8aee406c9 100644
--- a/winaccessibility/source/UAccCOM/AccTextBase.cxx
+++ b/winaccessibility/source/UAccCOM/AccTextBase.cxx
@@ -175,7 +175,7 @@ STDMETHODIMP CAccTextBase::get_attributes(long offset, long * startOffset, long
unsigned long nColor;
pValue.Value >>= nColor;
OLECHAR pBuf[64];
- swprintf( pBuf, L"%08X", nColor );
+ swprintf( pBuf, L"%08lX", nColor );
pTemp[0]=L'#';
wcscat( pTemp, pBuf );