Skip to content

Commit

Permalink
ubuntu warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanHolland committed Jun 2, 2021
1 parent 61117d2 commit df0e34f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/label/label.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ bool Label::match_packet(pcap_packet_info *pi) {
void Label::print() {
printf("Label {\n");
printf(" bpf: %s\n", bpf_string_filter.c_str());
printf(" tstart: %llu\n", ts_start);
printf(" tend: %llu\n", ts_end);
printf(" tstart: %lu\n", ts_start);
printf(" tend: %lu\n", ts_end);
printf("}\n");
}
4 changes: 2 additions & 2 deletions src/pcapng/block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ void Block::print(FILE *stream) {
}
fprintf(stream, " }\n");
fprintf(stream, " FileWindow {\n");
fprintf(stream, " start: %llu\n", fw.f_start);
fprintf(stream, " end: %llu\n", fw.f_end);
fprintf(stream, " start: %lu\n", fw.f_start);
fprintf(stream, " end: %lu\n", fw.f_end);
fprintf(stream, " }\n");
fprintf(stream, "}\n");
}
Expand Down

0 comments on commit df0e34f

Please sign in to comment.