mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00: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;
|
||||
|
||||
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