diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-10-24 22:25:29 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-10-24 22:25:29 +0200 |
commit | 26112352a774737e1ce5580c93654a26c1e82b39 (patch) | |
tree | d64e2f5b6e7aa92fa9a8ffb8ae5df75310532714 /tests/sleep.c | |
parent | be8efac78d067c138ad8dda03df4336e73f94887 (diff) |
New upstream version 1.1upstream/1.1
Diffstat (limited to 'tests/sleep.c')
-rw-r--r-- | tests/sleep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/sleep.c b/tests/sleep.c index 7a6fb152..80431c10 100644 --- a/tests/sleep.c +++ b/tests/sleep.c @@ -22,8 +22,6 @@ #include <limits.h> -#include "verify.h" - #if defined _WIN32 && ! defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN /* avoid including junk */ @@ -56,7 +54,7 @@ unsigned int rpl_sleep (unsigned int seconds) { /* This requires int larger than 16 bits. */ - verify (UINT_MAX / 24 / 24 / 60 / 60); + static_assert (UINT_MAX / 24 / 24 / 60 / 60); const unsigned int limit = 24 * 24 * 60 * 60; while (limit < seconds) { |