Project

General

Profile

Actions

Optimization #6632

open

Do not have any warning with -Wsign-conversion

Added by Philippe Antoine 6 months ago. Updated 5 months ago.

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

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 #1

Updated by Philippe Antoine 6 months ago

  • Related to Bug #6186: Integer overflows 64 to 32 bytes added
Actions #2

Updated by Philippe Antoine 5 months ago

Also Wsign-compare

Actions

Also available in: Atom PDF