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:
Patrick José Pereira 2020-09-24 12:09:55 -03:00 committed by Peter Barker
parent 174dc3b032
commit 27720f2235
2 changed files with 2 additions and 2 deletions

View File

@ -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--;

View File

@ -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