Skip to content

Commit

Permalink
0 -> 0u
Browse files Browse the repository at this point in the history
  • Loading branch information
sloretz committed Aug 27, 2018
1 parent f26b64e commit 7edfb31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rcl/test/rcl/test_time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,8 +602,8 @@ TEST(CLASSNAME(rcl_time, RMW_IMPLEMENTATION), rcl_clock_add_jump_callback) {

rcl_jump_threshold_t threshold;
threshold.on_clock_change = false;
threshold.min_forward.nanoseconds = 0u;
threshold.min_backward.nanoseconds = 0u;
threshold.min_forward.nanoseconds = 0;
threshold.min_backward.nanoseconds = 0;
rcl_jump_callback_t cb = reinterpret_cast<rcl_jump_callback_t>(0xBEEF);
void * user_data = reinterpret_cast<void *>(0xCAFE);

Expand Down Expand Up @@ -638,8 +638,8 @@ TEST(CLASSNAME(rcl_time, RMW_IMPLEMENTATION), rcl_clock_remove_jump_callback) {

rcl_jump_threshold_t threshold;
threshold.on_clock_change = false;
threshold.min_forward.nanoseconds = 0u;
threshold.min_backward.nanoseconds = 0u;
threshold.min_forward.nanoseconds = 0;
threshold.min_backward.nanoseconds = 0;
rcl_jump_callback_t cb = reinterpret_cast<rcl_jump_callback_t>(0xBEEF);
void * user_data1 = reinterpret_cast<void *>(0xCAFE);
void * user_data2 = reinterpret_cast<void *>(0xFACE);
Expand Down

0 comments on commit 7edfb31

Please sign in to comment.