Project

General

Profile

Actions

Bug #3129

closed

Fixes warning about size of integers in string formats (4.1.x)

Added by Victor Julien over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Found by compiler Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Example :

decode-icmpv4.c:88:55: warning: format specifies type 'unsigned char' but the argument has type 'uint16_t' (aka 'unsigned short') [-Wformat]
                           "%"PRIu8" dport %"PRIu8"", p->icmpv4vars.emb_sport,


Related issues 1 (0 open1 closed)

Copied from Suricata - Bug #3009: Fixes warning about size of integers in string formatsClosedPhilippe AntoineActions
Actions #1

Updated by Victor Julien over 4 years ago

  • Copied from Bug #3009: Fixes warning about size of integers in string formats added
Actions #2

Updated by Victor Julien over 4 years ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF