Codebase list lldpd / 73d759d
d/patches: remove patch for 32-bit arch, applied upstream Vincent Bernat 3 years ago
2 changed file(s) with 0 addition(s) and 28 deletion(s). Raw diff Collapse all Expand all
+0
-27
debian/patches/0001-tests-fix-bitmap-test-on-32bit.patch less more
0 From 8f6f82b696c529b0c764ba1843848498aa0ed8a8 Mon Sep 17 00:00:00 2001
1 From: Vincent Bernat <vincent@bernat.ch>
2 Date: Fri, 3 Apr 2020 22:34:18 +0200
3 Subject: [PATCH] tests: fix bitmap test on 32bit
4
5 ---
6 tests/check_bitmap.c | 4 ++--
7 1 file changed, 2 insertions(+), 2 deletions(-)
8
9 diff --git a/tests/check_bitmap.c b/tests/check_bitmap.c
10 index 0fe63d53d796..dfaefd60d81b 100644
11 --- a/tests/check_bitmap.c
12 +++ b/tests/check_bitmap.c
13 @@ -40,8 +40,8 @@ START_TEST(test_some_bits) {
14 bitmap_set(vlan_bmap, 6);
15 bitmap_set(vlan_bmap, 31);
16 bitmap_set(vlan_bmap, 50);
17 - ck_assert_int_eq(vlan_bmap[0], (1L << 1) | (1L << 6) | (1L << 31));
18 - ck_assert_int_eq(vlan_bmap[1], (1L << (50-32)));
19 + ck_assert_int_eq(vlan_bmap[0], (1UL << 1) | (1UL << 6) | (1UL << 31));
20 + ck_assert_int_eq(vlan_bmap[1], (1UL << (50-32)));
21 ck_assert_int_eq(vlan_bmap[2], 0);
22 ck_assert_int_eq(bitmap_numbits(vlan_bmap), 4);
23 }
24 --
25 2.26.0
26
00 0001-build-put-ZSH-completion-in-vendor-completions.patch
1 0001-tests-fix-bitmap-test-on-32bit.patch