diff options
author | jkim <jkim@FreeBSD.org> | 2008-08-18 21:40:03 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2008-08-18 21:40:03 +0000 |
commit | 62966b1d9f9e0e26ca130c307fce6afbcbe71832 (patch) | |
tree | 8d84cf8d81e64da4231425a70a3bf02c5071a8c4 /tools/regression/bpf | |
parent | 06b9c603d78c266078e393a0077b2b29121b011c (diff) | |
download | FreeBSD-src-62966b1d9f9e0e26ca130c307fce6afbcbe71832.zip FreeBSD-src-62966b1d9f9e0e26ca130c307fce6afbcbe71832.tar.gz |
Fix two test cases on 32-bit architectures.
Diffstat (limited to 'tools/regression/bpf')
-rw-r--r-- | tools/regression/bpf/bpf_filter/tests/test0007.h | 4 | ||||
-rw-r--r-- | tools/regression/bpf/bpf_filter/tests/test0008.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/tools/regression/bpf/bpf_filter/tests/test0007.h b/tools/regression/bpf/bpf_filter/tests/test0007.h index c253480..d001ae1 100644 --- a/tools/regression/bpf/bpf_filter/tests/test0007.h +++ b/tools/regression/bpf/bpf_filter/tests/test0007.h @@ -11,7 +11,9 @@ struct bpf_insn pc[] = { }; /* Packet */ -u_char pkt[0xdeadc0de]; +u_char pkt[] = { + 0x00, +}; /* Packet length seen on wire */ u_int wirelen = 0xdeadc0de; diff --git a/tools/regression/bpf/bpf_filter/tests/test0008.h b/tools/regression/bpf/bpf_filter/tests/test0008.h index 432eaaa..8c1a5bf 100644 --- a/tools/regression/bpf/bpf_filter/tests/test0008.h +++ b/tools/regression/bpf/bpf_filter/tests/test0008.h @@ -12,7 +12,9 @@ struct bpf_insn pc[] = { }; /* Packet */ -u_char pkt[0xdeadc0de]; +u_char pkt[] = { + 0x00, +}; /* Packet length seen on wire */ u_int wirelen = 0xdeadc0de; |