summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRALOVICH, Kristóf <tade60@freemail.hu>2013-07-09 16:28:42 +0200
committerRALOVICH, Kristóf <tade60@freemail.hu>2013-07-09 16:28:42 +0200
commitbe2ae7e057a32c3c7f4791c8c9baed86743c0e9d (patch)
tree32e978dc47cbda30b55f960f113a013df8679855 /src
parentaf4fb328ff670ba8fcf08db5bb0279cf08dbc65f (diff)
fix an other build fallout
Diffstat (limited to 'src')
-rw-r--r--src/AntFr310XT.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/AntFr310XT.cpp b/src/AntFr310XT.cpp
index 0fb13c4..b23b21a 100644
--- a/src/AntFr310XT.cpp
+++ b/src/AntFr310XT.cpp
@@ -466,8 +466,8 @@ AntFr310XT2::handleEvents()
time_t t = GarminConvert::gOffsetTime(zfc.getFitFileTime(fileIdx));
if(t < m_ds->LastUserProfileTime)
{
- logger() << "Skipping waypoints file 0x" << hex << setw(4) << setfill('0')
- << fileIdx << "@" << DeviceSettings::time2str(t) << " older than "
+ logger() << "Skipping waypoints file 0x" << toString<ushort>(fileIdx,4,'0')
+ << "@" << DeviceSettings::time2str(t) << " older than "
<< DeviceSettings::time2str(m_ds->LastUserProfileTime) << "\n";
continue;
}
@@ -500,8 +500,8 @@ AntFr310XT2::handleEvents()
time_t t = GarminConvert::gOffsetTime(zfc.getFitFileTime(fileIdx));
if(t < m_ds->LastUserProfileTime)
{
- logger() << "Skipping activity file 0x" << hex << setw(4) << setfill('0')
- << fileIdx << "@" << DeviceSettings::time2str(t) << " older than "
+ logger() << "Skipping activity file 0x" << toString<ushort>(fileIdx,4,'0')
+ << "@" << DeviceSettings::time2str(t) << " older than "
<< DeviceSettings::time2str(m_ds->LastUserProfileTime) << "\n";
continue;
}
@@ -541,8 +541,8 @@ AntFr310XT2::handleEvents()
time_t t = GarminConvert::gOffsetTime(zfc.getFitFileTime(fileIdx));
if(t < m_ds->LastUserProfileTime)
{
- logger() << "Skipping course file 0x" << hex << setw(4) << setfill('0')
- << fileIdx << "@" << DeviceSettings::time2str(t) << " older than "
+ logger() << "Skipping course file 0x" << toString<ushort>(fileIdx,4,'0')
+ << "@" << DeviceSettings::time2str(t) << " older than "
<< DeviceSettings::time2str(m_ds->LastUserProfileTime) << "\n";
continue;
}