diff options
author | RALOVICH, Kristóf <tade60@freemail.hu> | 2013-07-09 16:28:42 +0200 |
---|---|---|
committer | RALOVICH, Kristóf <tade60@freemail.hu> | 2013-07-09 16:28:42 +0200 |
commit | be2ae7e057a32c3c7f4791c8c9baed86743c0e9d (patch) | |
tree | 32e978dc47cbda30b55f960f113a013df8679855 | |
parent | af4fb328ff670ba8fcf08db5bb0279cf08dbc65f (diff) |
fix an other build fallout
-rw-r--r-- | src/AntFr310XT.cpp | 12 |
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; } |