mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 19:32:36 +08:00
replay: fix string printf output: add .c_str()
This commit is contained in:
@@ -316,7 +316,7 @@ bool Replay::readAndAddSubscription(std::ifstream &file, uint16_t msg_size)
|
|||||||
timestamp_found = true;
|
timestamp_found = true;
|
||||||
|
|
||||||
if (type_name_full != "uint64_t") {
|
if (type_name_full != "uint64_t") {
|
||||||
PX4_ERR("Unsupported timestamp type %s, ignoring the topic %s", type_name_full,
|
PX4_ERR("Unsupported timestamp type %s, ignoring the topic %s", type_name_full.c_str(),
|
||||||
orb_meta->o_name);
|
orb_meta->o_name);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user