mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 03:53:34 +08:00
Max data type name length test
This commit is contained in:
@@ -112,7 +112,7 @@ std::string DataTypeDescriptor::toString() const
|
||||
}
|
||||
|
||||
using namespace std; // For snprintf()
|
||||
char buf[80];
|
||||
char buf[128];
|
||||
(void)snprintf(buf, sizeof(buf), "%s:%u%c:%016llx",
|
||||
full_name_, static_cast<unsigned>(id_.get()), kindch,
|
||||
static_cast<unsigned long long>(signature_.get()));
|
||||
|
||||
Reference in New Issue
Block a user