Skip to content

Commit df0e34f

Browse files
author
JordanHolland
committed
ubuntu warnings
1 parent 61117d2 commit df0e34f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/label/label.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ bool Label::match_packet(pcap_packet_info *pi) {
7575
void Label::print() {
7676
printf("Label {\n");
7777
printf(" bpf: %s\n", bpf_string_filter.c_str());
78-
printf(" tstart: %llu\n", ts_start);
79-
printf(" tend: %llu\n", ts_end);
78+
printf(" tstart: %lu\n", ts_start);
79+
printf(" tend: %lu\n", ts_end);
8080
printf("}\n");
8181
}

src/pcapng/block.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ void Block::print(FILE *stream) {
2626
}
2727
fprintf(stream, " }\n");
2828
fprintf(stream, " FileWindow {\n");
29-
fprintf(stream, " start: %llu\n", fw.f_start);
30-
fprintf(stream, " end: %llu\n", fw.f_end);
29+
fprintf(stream, " start: %lu\n", fw.f_start);
30+
fprintf(stream, " end: %lu\n", fw.f_end);
3131
fprintf(stream, " }\n");
3232
fprintf(stream, "}\n");
3333
}

0 commit comments

Comments
 (0)