diff options
Diffstat (limited to 'src/core/tests/test-l3cfg.c')
| -rw-r--r-- | src/core/tests/test-l3cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/tests/test-l3cfg.c b/src/core/tests/test-l3cfg.c index 962b2eec..6b82fe43 100644 --- a/src/core/tests/test-l3cfg.c +++ b/src/core/tests/test-l3cfg.c @@ -760,7 +760,7 @@ test_l3_ipv4ll(gconstpointer test_data) if (next_timeout_msec <= 0) break; - next_timeout_msec = NM_MIN(next_timeout_msec, nmtst_get_rand_uint32() % 1000u); + next_timeout_msec = NM_MIN(next_timeout_msec, (gint64) (nmtst_get_rand_uint32() % 1000u)); nmtst_main_context_iterate_until(NULL, next_timeout_msec, FALSE); _LOGT("poll 1 intermezzo"); |