summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-08 13:49:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-09 07:20:44 +0100
commit75c604a4ecd61322285f4139621e14166a8db1f2 (patch)
tree995ac51e5c7310e310ce096c14784cac6b357ad0 /sal
parentc0847dc7b7a311d19b73d4943d1b0466b10cde4f (diff)
loplugin:convertlong in ucb,sot
Change-Id: I6fa355448834701f11b84584649dfcdecd0f7b2c Reviewed-on: https://gerrit.libreoffice.org/47596 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/strimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/strimp.cxx b/sal/rtl/strimp.cxx
index d520d2412b6e..e760de186417 100644
--- a/sal/rtl/strimp.cxx
+++ b/sal/rtl/strimp.cxx
@@ -81,7 +81,7 @@ static void *pre_allocateStringFn(sal_Size n)
static void pre_freeStringFn(void *data)
{
char *addr = static_cast<char*>(data) - 4;
- sal_Size size = reinterpret_cast<sal_uInt32*>(addr)[0] + 12;
+ sal_uInt32 size = reinterpret_cast<sal_uInt32*>(addr)[0] + 12;
rtl_arena_free(pre_arena, addr, size);
}