Fix compile error that some people experienced.

This commit is contained in:
Jonathan Naylor 2016-04-12 21:37:21 +01:00
parent 8f836716b8
commit 43b90a58f8

View file

@ -74,7 +74,7 @@ std::string CDMRLookup::find(unsigned int id) const
try {
callsign = m_table.at(id);
} catch (std::out_of_range& e) {
} catch (...) {
char text[10U];
::sprintf(text, "%u", id);
callsign = std::string(text);