Skip to content

Commit

Permalink
fix: api test compiler issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Jun 20, 2024
1 parent 93a3b69 commit e848b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/z_api_alignment_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ int main(int argc, char **argv) {
assert_eq(_ret_int8, 0);
assert(hellos >= 1);

uint32_t _scouting_timeout = strtoul(SCOUTING_TIMEOUT, NULL, 10);
uint32_t _scouting_timeout = (uint32_t)strtoul(SCOUTING_TIMEOUT, NULL, 10);
z_sleep_ms(_scouting_timeout);
printf("Ok\n");
z_sleep_s(SLEEP);
Expand Down

0 comments on commit e848b7d

Please sign in to comment.