Fix two test cases on 32-bit architectures.

This commit is contained in:
jkim 2008-08-18 21:40:03 +00:00
parent 06b9c603d7
commit 62966b1d9f
2 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -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;