summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-04-19 00:30:10 +0300
committerTor Lillqvist <tml@iki.fi>2013-04-19 00:30:10 +0300
commitf1efc98b45fcf462a74b31790d4075f29cc0f8af (patch)
tree3b9d2cb89b9ff648646a07a48ee7f90303798c6a /sd/source
parent824caac79d983ad1aa93a6ec51558d7edb6f2a7d (diff)
WaE: format specifies type 'int' but the argument has type 'sal_uInt32'
Change-Id: I33f603df67db2caaeebec5fc6f5f6ee2341a0b8f
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/filter/eppt/pptx-epptooxml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index da791f33e2f9..ba04809775e1 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -1314,7 +1314,7 @@ bool PowerPointExport::WriteComments( sal_uInt32 nPageNum )
sal_Int32 nId = GetAuthorIdAndLastIndex ( xAnnotation->getAuthor(), nLastIndex );
char cDateTime[32];
- snprintf(cDateTime, 31, "%02d-%02d-%02dT%02d:%02d:%02d.%09d", aDateTime.Year, aDateTime.Month, aDateTime.Day, aDateTime.Hours, aDateTime.Minutes, aDateTime.Seconds, aDateTime.NanoSeconds);
+ snprintf(cDateTime, 31, "%02d-%02d-%02dT%02d:%02d:%02d.%09" SAL_PRIuUINT32, aDateTime.Year, aDateTime.Month, aDateTime.Day, aDateTime.Hours, aDateTime.Minutes, aDateTime.Seconds, aDateTime.NanoSeconds);
pFS->startElementNS( XML_p, XML_cm,
XML_authorId, I32S( nId ),