diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2020-08-31 11:08:28 +0200 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2020-08-31 11:08:28 +0200 |
| commit | b51f06ff71a2060925bf3c0f04c44bd12480e670 (patch) | |
| tree | fd305682823aff144f345fd1d439fa78f3d51a0a /src/ndisc | |
| parent | b92fc658301eb82b80167a31179c9b839f151b18 (diff) | |
| parent | e7b44ef4c80907346ec7492a09c45277459924fc (diff) | |
Merge branch 'upstream/latest' of https://salsa.debian.org/utopia-team/network-manager into upstream/latest
Diffstat (limited to 'src/ndisc')
| -rw-r--r-- | src/ndisc/tests/test-ndisc-fake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ndisc/tests/test-ndisc-fake.c b/src/ndisc/tests/test-ndisc-fake.c index b65511e0..254110e4 100644 --- a/src/ndisc/tests/test-ndisc-fake.c +++ b/src/ndisc/tests/test-ndisc-fake.c @@ -61,8 +61,8 @@ match_gateway (const NMNDiscData *rdata, guint idx, const char *addr, guint32 ts _a = &_rdata->addresses[_idx]; \ \ nmtst_assert_ip6_address (&_a->address, (addr)); \ - g_assert_cmpint (_a->timestamp, >=, _ts); \ g_assert_cmpint (_a->timestamp, <=, _ts + 1); \ + g_assert_cmpint ((int) _a->timestamp, >=, (int) _ts - 1); \ g_assert_cmpint (_a->timestamp + _a->lifetime, ==, _ts + (lt)); \ g_assert_cmpint (_a->timestamp + _a->preferred, ==, _ts + (pref)); \ } G_STMT_END |