summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-04-18 23:44:51 +0300
committerTor Lillqvist <tml@iki.fi>2013-04-19 00:19:41 +0300
commit0333495fdaba9f018d547368d2551cb432bfbb95 (patch)
treec67a15a5a58e307fdad718f6c3a293e6f0097802 /oox
parentef5bd25341eabe44b04a4b64dd5196500a235366 (diff)
WaE: format specifies type 'int' but the argument has type 'sal_uInt32'
Change-Id: I70f6a46b2195aa28c1a6dcd8c8d7e52fccb22cc3
Diffstat (limited to 'oox')
-rw-r--r--oox/source/core/xmlfilterbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index 28d47c2374c2..4cd7665be98c 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -484,7 +484,7 @@ writeElement( FSHelperPtr pDoc, sal_Int32 nXmlElement, const util::DateTime& rTi
char pStr[200];
// FIXME: my guess is that precision greater than millisecond in undesirable
// (forbidden by the standard???)
- snprintf( pStr, sizeof( pStr ), "%d-%02d-%02dT%02d:%02d:%02d.%09dZ",
+ snprintf( pStr, sizeof( pStr ), "%d-%02d-%02dT%02d:%02d:%02d.%09" SAL_PRIuUINT32 "Z",
rTime.Year, rTime.Month, rTime.Day,
rTime.Hours, rTime.Minutes, rTime.Seconds,
rTime.NanoSeconds);