Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warning when converting string to Time_t (#2402)
The Time_t nanosec() method requires a uint32_t to be passed in. But the previous code was using an int32_t for the nanoseconds, which was causing a warning in some compilers. Fix this by using a uint32_t for the nano variable. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org> (cherry picked from commit b5f7fbf) Co-authored-by: Chris Lalancette <clalancette@openrobotics.org>
- Loading branch information