Kaydet (Commit) 1dc49149 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Forgot to adapt one of the format strings

...in 113536e9 "Avoid
-Werror=format-{overflow,truncation}="

Change-Id: Ie26abed8c5694a3b26777771737ded2b3b484935
üst 3d4fe8b1
...@@ -1826,7 +1826,7 @@ bool ODbaseTable::UpdateBuffer(OValueRefVector& rRow, const OValueRefRow& pOrgRo ...@@ -1826,7 +1826,7 @@ bool ODbaseTable::UpdateBuffer(OValueRefVector& rRow, const OValueRefRow& pOrgRo
// reserve enough space for hypothetical max length // reserve enough space for hypothetical max length
snprintf(s, snprintf(s,
sizeof(s), sizeof(s),
"%04d%02d%02d", "%04" SAL_PRIdINT32 "%02" SAL_PRIuUINT32 "%02" SAL_PRIuUINT32,
static_cast<sal_Int32>(aDate.Year), static_cast<sal_Int32>(aDate.Year),
static_cast<sal_uInt32>(aDate.Month), static_cast<sal_uInt32>(aDate.Month),
static_cast<sal_uInt32>(aDate.Day)); static_cast<sal_uInt32>(aDate.Day));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment