Project

General

Profile

Actions

Optimization #6632

open

Do not have any warning with -Wsign-conversion

Added by Philippe Antoine about 1 year ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:
Hardening

Description

Example

app-layer-ftp.c:376:38: warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  376 |         uint32_t o_consumed = input->consumed;

Related issues 1 (1 open0 closed)

Related to Suricata - Bug #6186: Integer overflows 64 to 32 bytesIn ReviewPhilippe AntoineActions
Actions

Also available in: Atom PDF