aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-03-31 19:22:54 -0700
committerGuy Harris <guy@alum.mit.edu>2017-04-01 02:23:30 +0000
commitd967d71d98f20dbd107594e7605b13ea28cfe982 (patch)
treed88ca838255bda43ff3e2f3cfd4924b9c806b5f9 /epan/proto.h
parent6a67209bff51c6e75e959bee27b29c0ebdd7882b (diff)
FT_CHAR is an integral type, so list it in the diagnostic message.
Change-Id: I8d095a2424033bee5b3569c906327ac15de33890 Reviewed-on: https://code.wireshark.org/review/20823 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/proto.h')
-rw-r--r--epan/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.h b/epan/proto.h
index 95a6ba42bb..9ad0df609c 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -273,7 +273,7 @@ WS_DLL_PUBLIC WS_NORETURN void proto_report_dissector_bug(const char *message);
IS_FT_UINT((hfinfo)->type)) ? (void)0 : \
REPORT_DISSECTOR_BUG( \
wmem_strdup_printf(wmem_packet_scope(), \
- "%s:%u: field %s is not of an FT_{U}INTn type", \
+ "%s:%u: field %s is not of type FT_CHAR or an FT_{U}INTn type", \
__FILE__, __LINE__, (hfinfo)->abbrev)))) \
__DISSECTOR_ASSERT_STATIC_ANALYSIS_HINT(IS_FT_INT((hfinfo)->type) || \
IS_FT_UINT((hfinfo)->type))