summaryrefslogtreecommitdiff
path: root/bridges/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-20 15:53:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-21 08:22:29 +0100
commit783120996aba341519393dd0100520707249d208 (patch)
treeaa6ff11749e3880ca7df05010277fde6a6269b45 /bridges/source
parent24158311c115c2db6dd05a751f75a5c084e2c0d1 (diff)
new loplugin: convertlong
merge the droplong and convertuintptr into one new plugin. Limit the analysis to looking at var decl's, since that seems to be safest proposition, even if that too needs some careful analysis. Change-Id: Id005baaf05cfb157ce44a06a1c81f08559a07d1f Reviewed-on: https://gerrit.libreoffice.org/46851 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'bridges/source')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
index 038f101a7edf..762d1392b34e 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
@@ -56,7 +56,7 @@ static OUString toUNOname( char const * p )
while (*p != 'E')
{
// read chars count
- long n = (*p++ - '0');
+ int n = (*p++ - '0');
while ('0' <= *p && '9' >= *p)
{
n *= 10;