Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix integer type in RCLCPP_* macro printf. (#492)
While building on macOS, a warning shows up like: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') The problem is that %ld isn't correct for int64_t on all platforms. Switch to the PRId64 macro so the type is correct everywhere. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
- Loading branch information