Project

General

Profile

Actions

Bug #5818

closed

time: integer comparison with different signs

Added by Jeff Lucovsky over 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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) {


Subtasks 1 (0 open1 closed)

Bug #6034: time: integer comparison with different signs (6.0.x backport)ClosedJeff LucovskyActions

Related issues 1 (0 open1 closed)

Has duplicate Suricata - Bug #3090: pfring compile err - openSUSE Tumbleweed , Ubuntu Eoan/ Debian unstableClosedActions
Actions

Also available in: Atom PDF