Project

General

Profile

Actions

Bug #3009

closed

Fixes warning about size of integers in string formats

Added by Philippe Antoine over 5 years ago. Updated over 5 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 to Suricata - Bug #3129: Fixes warning about size of integers in string formats (4.1.x)ClosedPhilippe AntoineActions
Actions

Also available in: Atom PDF