aboutsummaryrefslogtreecommitdiff
path: root/support/tst-timespec.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/tst-timespec.c')
-rw-r--r--support/tst-timespec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/tst-timespec.c b/support/tst-timespec.c
index 66fc42c..3c960b6 100644
--- a/support/tst-timespec.c
+++ b/support/tst-timespec.c
@@ -1,5 +1,5 @@
/* Test for support_timespec_check_in_range function.
- Copyright (C) 2020-2024 Free Software Foundation, Inc.
+ Copyright (C) 2020-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -287,7 +287,7 @@ struct timespec_test_case check_cases[] = {
{.expected = {.tv_sec = 0, .tv_nsec = 1},
.observed = {.tv_sec = TIME_T_MAX / TIMESPEC_HZ,
.tv_nsec = TIMESPEC_HZ - 1},
- .upper_bound = TIME_T_MAX, .lower_bound = 1, .result = 1,
+ .upper_bound = (double) TIME_T_MAX, .lower_bound = 1, .result = 1,
},
};