connectivity/source/drivers/dbase/DTable.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1dc49149ddef560f2c20318c2298f9a1060172be Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Jan 21 13:40:02 2019 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Jan 21 13:40:02 2019 +0100 Forgot to adapt one of the format strings ...in 113536e974d7ebbbc484b0ef40406f9b4d14e511 "Avoid -Werror=format-{overflow,truncation}=" Change-Id: Ie26abed8c5694a3b26777771737ded2b3b484935 diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 9a72c276ed4c..735daf3bc1ab 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -1826,7 +1826,7 @@ bool ODbaseTable::UpdateBuffer(OValueRefVector& rRow, const OValueRefRow& pOrgRo // reserve enough space for hypothetical max length snprintf(s, sizeof(s), - "%04d%02d%02d", + "%04" SAL_PRIdINT32 "%02" SAL_PRIuUINT32 "%02" SAL_PRIuUINT32, static_cast<sal_Int32>(aDate.Year), static_cast<sal_uInt32>(aDate.Month), static_cast<sal_uInt32>(aDate.Day)); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits