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 f7b6b46a5d
commit 7e30ef5541

View File

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