Fix two test cases on 32-bit architectures.
This commit is contained in:
parent
06b9c603d7
commit
62966b1d9f
@ -11,7 +11,9 @@ struct bpf_insn pc[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* Packet */
|
/* Packet */
|
||||||
u_char pkt[0xdeadc0de];
|
u_char pkt[] = {
|
||||||
|
0x00,
|
||||||
|
};
|
||||||
|
|
||||||
/* Packet length seen on wire */
|
/* Packet length seen on wire */
|
||||||
u_int wirelen = 0xdeadc0de;
|
u_int wirelen = 0xdeadc0de;
|
||||||
|
@ -12,7 +12,9 @@ struct bpf_insn pc[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* Packet */
|
/* Packet */
|
||||||
u_char pkt[0xdeadc0de];
|
u_char pkt[] = {
|
||||||
|
0x00,
|
||||||
|
};
|
||||||
|
|
||||||
/* Packet length seen on wire */
|
/* Packet length seen on wire */
|
||||||
u_int wirelen = 0xdeadc0de;
|
u_int wirelen = 0xdeadc0de;
|
||||||
|
Loading…
Reference in New Issue
Block a user