Skip to content

Commit

Permalink
lib: test-time-util - Use correct types for test case
Browse files Browse the repository at this point in the history
Fixes type mismatch on 32-bit systems.
  • Loading branch information
cmouse committed Feb 4, 2021
1 parent 0ac71cb commit 01366bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/test-time-util.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,8 @@ static void test_str_to_timeval(void)
{
struct {
const char *str;
unsigned int tv_sec, tv_usec;
time_t tv_sec;
suseconds_t tv_usec;
} tests[] = {
{ "0", 0, 0 },
{ "0.0", 0, 0 },
Expand Down

0 comments on commit 01366bd

Please sign in to comment.