forked from the-tcpdump-group/libpcap
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the value argument to "gen_ncmp()" a bpf_int32, the same as the
value arguments are to other routines. Do the same with the value argument to "gen_atmfield_code()". "gen_load_a()" can return more than one statement; append to the list of statements it returns with "sappend()", rather than manually appending to the first statement. Fix the argument list to one "gen_ncmp()" call, and get rid of the casts in the other calls, as the arguments already have the right types. Fix the casts in calls to "gen_atmfield_code()".
- Loading branch information
Showing
3 changed files
with
23 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters