Fix another MacOS build break

Break was due to following warnings (being promoted to errors) -
 * id_ private member was unused
 * tv_usec is int on MacOS (but long on Linux)
This commit is contained in:
Srivats P 2023-03-23 15:55:10 +05:30
parent 3060701386
commit 219ad576ad

View File

@ -103,8 +103,8 @@ _skip_filter:
if (SignProtocol::packetTtagId(data, hdr->caplen,
&ttagId, &guid)) {
// TODO: store packet timestamp with ttag/guid
qDebug("XXXXX %ld:%ld ttag %u guid %u",
hdr->ts.tv_sec, hdr->ts.tv_usec, ttagId, guid);
qDebug("XXXXX [%d] %ld:%ld ttag %u guid %u", id_,
hdr->ts.tv_sec, long(hdr->ts.tv_usec), ttagId, guid);
}
break;
}