Merge pull request #133 from Eism/rss_expanded_fix_upstream

RSS Expanded fix bug
This commit is contained in:
Nikolaos Ftylitakis 2019-09-03 16:45:45 +03:00 committed by GitHub
commit 12a269687f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ int DataCharacter::getChecksumPortion() const
String DataCharacter::toString() const
{
return String(m_value + '(' + m_checksumPortion + ')');
return String(std::to_string(m_value) + '(' + std::to_string(m_checksumPortion) + ')');
}
bool DataCharacter::equals(const DataCharacter &other) const

View File

@ -22,7 +22,7 @@ String GeneralAppIdDecoder::decodeAllCodes(String &buff, int initialPosition)
buff.append(parsedFields.getText());
}
if (info.isRemaining()) {
remaining = String(info.getRemainingValue());
remaining = String(std::to_string(info.getRemainingValue()));
} else {
remaining = String("");
}