summaryrefslogtreecommitdiff
path: root/idl/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-02-13 17:21:58 +0100
committerJulien Nabet <serval2412@yahoo.fr>2021-02-14 09:42:44 +0100
commit863ee228e002cc9a0970a1d01f6028710bd997bc (patch)
treed97d22f48167d425a3166c1372a10b18dd1c3ba9 /idl/source
parentc4da166d1fb696133b3c576b27daf196816558c3 (diff)
-Werror,-Wformat in idl with Raspberry pi 4b
[CXX] sax/source/expatwrap/sax_expat.cxx /home/pi/lo/libreoffice/idl/source/prj/database.cxx:437:23: error: format specifies type 'unsigned long' but the argument has type 'sal_uInt64' (aka 'unsigned long long') [-Werror,-Wformat] "error", nRow, nColumn ); ^~~~ /home/pi/lo/libreoffice/idl/source/prj/database.cxx:437:29: error: format specifies type 'unsigned long' but the argument has type 'sal_uInt64' (aka 'unsigned long long') [-Werror,-Wformat] "error", nRow, nColumn ); ^~~~~~~ 2 errors generated. Following https://cgit.freedesktop.org/libreoffice/core/commit/?id=5419b894a2e791de24d10f0c4433a807e175e7a0 author siddheshpatil777 <[hidden email]> 2021-01-06 14:14:33 +0400 committer Michael Stahl <[hidden email]> 2021-01-21 16:36:00 +0100 commit 5419b894a2e791de24d10f0c4433a807e175e7a0 (patch) tree 72cdf2b9648a18d711c53bb0d36ffb550ec0850d parent 21138573fcc6e300a446ffba8cfde00198fb249e (diff) tdf#114441: Convert use of sal_uLong to better integer types Change-Id: I0d961e8b1e0a6a9709fabb50b5e209c7ac5e7250 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110844 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'idl/source')
-rw-r--r--idl/source/prj/database.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx
index 56e05665b7f8..01ad077f8a60 100644
--- a/idl/source/prj/database.cxx
+++ b/idl/source/prj/database.cxx
@@ -432,7 +432,7 @@ void SvIdlDataBase::WriteError( SvTokenStream & rInStm )
}
// error treatment
- fprintf( stderr, "\n%s --- %s: ( %" SAL_PRIuUINTPTR ", %" SAL_PRIuUINTPTR " )\n",
+ fprintf( stderr, "\n%s --- %s: ( %" SAL_PRIuUINT64 ", %" SAL_PRIuUINT64 " )\n",
OUStringToOString(aFileName, RTL_TEXTENCODING_UTF8).getStr(),
"error", nRow, nColumn );