mirror of
https://github.com/status-im/qzxing.git
synced 2025-02-16 12:58:31 +00:00
fix bug
This commit is contained in:
parent
98318bc6a2
commit
7b2e69421c
@ -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
|
||||
|
@ -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("");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user