diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-15 14:26:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-16 11:12:31 +0200 |
commit | 87c90cec38c43efbbd9cbfad1f0f607f428043d4 (patch) | |
tree | b65b6ccc78a4a922c027f98e4d8ab5251fdf33bb /svx/source | |
parent | 9b34dc20b6946698ae6ce2d5d859885bfb444633 (diff) |
fix some *printf which are using "%l" ie. long specifiers
which are not portable between Linux and Windows because long
is not portable.
In preparation for converting long -> tools::Long
Change-Id: I8bf1aa1570946ca887a6c83dd5f99c024d437336
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104374
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/tbxctrls/colrctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/colrctrl.cxx b/svx/source/tbxctrls/colrctrl.cxx index 069c1c871e8b..e749994b73df 100644 --- a/svx/source/tbxctrls/colrctrl.cxx +++ b/svx/source/tbxctrls/colrctrl.cxx @@ -228,7 +228,7 @@ SvxColorDockingWindow::SvxColorDockingWindow(SfxBindings* _pBindings, SfxChildWi aItemSize.setHeight( aItemSize.Height() + SvxColorValueSet::getEntryEdgeLength() ); aItemSize.setHeight( aItemSize.Height() / 2 ); - fprintf(stderr, "size is %ld %ld\n", aItemSize.Width(), aItemSize.Height()); + fprintf(stderr, "size is %" SAL_PRIdINT64 " %" SAL_PRIdINT64 "\n", sal_Int64(aItemSize.Width()), sal_Int64(aItemSize.Height())); if (_pBindings != nullptr) StartListening(*_pBindings, DuplicateHandling::Prevent); |