diff options
author | Constantine Gavrilov <constg@il.ibm.com> | 2021-03-10 12:54:33 +0200 |
---|---|---|
committer | Pascal Quantin <pascal@wireshark.org> | 2021-04-17 10:29:15 +0000 |
commit | 5db4d2c0c9f876c7dd27df8598b7ed1dd5b6f959 (patch) | |
tree | e451deb0600b2d1e2688d5df951cb1d51fac175c /epan/proto.c | |
parent | 6341257fae6164a2a82eaa377c355430035a7f71 (diff) |
Fix compilation with gcc-11.
Closes #17281
Diffstat (limited to 'epan/proto.c')
-rw-r--r-- | epan/proto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/proto.c b/epan/proto.c index 2a156b8d84..cba8ef3a7f 100644 --- a/epan/proto.c +++ b/epan/proto.c @@ -10189,7 +10189,7 @@ hfinfo_number_value_format(const header_field_info *hfinfo, char buf[32], guint3 } static const char * -hfinfo_number_value_format64(const header_field_info *hfinfo, char buf[64], guint64 value) +hfinfo_number_value_format64(const header_field_info *hfinfo, char buf[48], guint64 value) { int display = hfinfo->display; @@ -10250,7 +10250,7 @@ hfinfo_numeric_value_format(const header_field_info *hfinfo, char buf[32], guint } static const char * -hfinfo_numeric_value_format64(const header_field_info *hfinfo, char buf[64], guint64 value) +hfinfo_numeric_value_format64(const header_field_info *hfinfo, char buf[48], guint64 value) { /* Get the underlying BASE_ value */ int display = FIELD_DISPLAY(hfinfo->display); @@ -10307,7 +10307,7 @@ hfinfo_number_vals_format(const header_field_info *hfinfo, char buf[32], guint32 } static const char * -hfinfo_number_vals_format64(const header_field_info *hfinfo, char buf[64], guint64 value) +hfinfo_number_vals_format64(const header_field_info *hfinfo, char buf[48], guint64 value) { /* Get the underlying BASE_ value */ int display = FIELD_DISPLAY(hfinfo->display); |