[Libreoffice-commits] core.git: idl/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Sun Feb 14 08:43:25 UTC 2021
idl/source/prj/database.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 863ee228e002cc9a0970a1d01f6028710bd997bc
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sat Feb 13 17:21:58 2021 +0100
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Feb 14 09:42:44 2021 +0100
-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 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
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 );
More information about the Libreoffice-commits
mailing list