Kaydet (Commit) 0d5804cc authored tarafından Giuseppe Castagno's avatar Giuseppe Castagno Kaydeden (comit) Tor Lillqvist

Fix sal log for 32 bit Linux build

Change-Id: I2644079cafa46db8689463e1d0abc1cf3bdf49de
Reviewed-on: https://gerrit.libreoffice.org/28222Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTor Lillqvist <tml@collabora.com>
üst b69503ea
......@@ -131,7 +131,7 @@ void maybeOutputTimestamp(std::ostringstream &s) {
tm.tm_year = dateTime.Year - 1900;
strftime(ts, sizeof(ts), "%Y-%m-%d:%H:%M:%S", &tm);
char milliSecs[10];
sprintf(milliSecs, "%03d", dateTime.NanoSeconds/1000000);
sprintf(milliSecs, "%03d", static_cast<int>(dateTime.NanoSeconds/1000000));
s << ts << '.' << milliSecs << ':';
}
if (outputRelativeTimer) {
......
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