Skip to content

Commit

Permalink
AP_UROS: update string formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Rhys Mainwaring <[email protected]>
  • Loading branch information
srmainwaring committed Oct 5, 2023
1 parent 7b6b189 commit ff9b7a2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libraries/AP_UROS/AP_UROS_Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
__LINE__, (int)temp_rc);\
/* will be empty when RCUTILS_AVOID_DYNAMIC_ALLOCATION is defined */\
const rcutils_error_state_t *err = rcutils_get_error_state();\
uros_error("UROS: error: %s, file: %s, line: %llu, ",\
err->message, err->file, err->line_number);\
uros_error("UROS: error: %s, file: %s, line: %u, ",\
err->message, err->file, (uint32_t)err->line_number);\
return false;\
} else {\
uros_debug("UROS: " msg"... OK");\
Expand Down Expand Up @@ -688,10 +688,10 @@ bool AP_UROS_Client::on_parameter_changed(
case RCLC_PARAMETER_INT:
uros_info(
"UROS: parameter %s modified: "
"old value: %lld, new value: %lld (int)",
"old value: %d, new value: %d (int)",
old_param->name.data,
old_param->value.integer_value,
new_param->value.integer_value);
(int32_t)old_param->value.integer_value,
(int32_t)new_param->value.integer_value);
break;
case RCLC_PARAMETER_DOUBLE:
uros_info(
Expand Down

0 comments on commit ff9b7a2

Please sign in to comment.