mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-03 23:10:46 +08:00
replay: fix string printf output: add .c_str()
This commit is contained in:
1 parent
6e44760819
commit
168c744232
1 file changed
+1
-1
@@ -316,7 +316,7 @@ bool Replay::readAndAddSubscription(std::ifstream &file, uint16_t msg_size)
|
||||
timestamp_found = true;
|
||||
|
||||
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);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user