Skip to content

Commit 61117d2

Browse files
author
JordanHolland
committed
mac os compiles release
1 parent baef400 commit 61117d2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

include/pcapng/pcapng_sorter.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct PacketSortInfo {
2020
uint64_t ts;
2121
FileWindow fw;
2222

23-
bool operator<(const PacketSortInfo &rhs) {
23+
bool operator<(const PacketSortInfo &rhs) const {
2424
if (rhs.sid == sid) {
2525
return rhs.ts < ts;
2626
} else {

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: %ld\n", ts_start);
79-
printf(" tend: %ld\n", ts_end);
78+
printf(" tstart: %llu\n", ts_start);
79+
printf(" tend: %llu\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: %ld\n", fw.f_start);
30-
fprintf(stream, " end: %ld\n", fw.f_end);
29+
fprintf(stream, " start: %llu\n", fw.f_start);
30+
fprintf(stream, " end: %llu\n", fw.f_end);
3131
fprintf(stream, " }\n");
3232
fprintf(stream, "}\n");
3333
}

0 commit comments

Comments
 (0)