Actions
Bug #5818
closed
JL
JL
time: integer comparison with different signs
Bug #5818:
time: integer comparison with different signs
Affected Versions:
Effort:
Difficulty:
Label:
Description
Using SCTime instead of timeval has created the following issue:
source-pfring.c: In function 'ReceivePfringLoop':
source-pfring.c:425:36: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'time_t' {aka 'long int'} [-Wsign-compare]
425 | if (SCTIME_SECS(p->ts) != last_dump) {
Actions