mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tools: Replay: Move from uint to uint32_t in MsgHandler
uint is not a fundamental type and does not exist under cstdint Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
174dc3b032
commit
27720f2235
@ -179,7 +179,7 @@ bool MsgHandler::field_value(uint8_t *msg, const char *label, Vector3f &ret)
|
||||
}
|
||||
|
||||
|
||||
void MsgHandler::string_for_labels(char *buffer, uint bufferlen)
|
||||
void MsgHandler::string_for_labels(char *buffer, uint32_t bufferlen)
|
||||
{
|
||||
memset(buffer, '\0', bufferlen);
|
||||
bufferlen--;
|
||||
|
@ -19,7 +19,7 @@ public:
|
||||
MsgHandler(const struct log_Format &f);
|
||||
|
||||
// retrieve a comma-separated list of all labels
|
||||
void string_for_labels(char *buffer, uint bufferlen);
|
||||
void string_for_labels(char *buffer, uint32_t bufferlen);
|
||||
|
||||
// field_value - retrieve the value of a field from the supplied message
|
||||
// these return false if the field was not found
|
||||
|
Loading…
Reference in New Issue
Block a user