From 417c181afba7e5ac6573660875f5ba5f03e671cb Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 28 Oct 2014 11:36:38 -0700 Subject: Use guint8 for 8-bit unsigned numeric values. That slightly better expresses the intent. Also, fix the message printed for bad bytes in a field name to handle bytes that are bad because they don't correspond to printable ASCII characters. Change-Id: I01f232c35bbbe30286999b6c607bfcf3d491453d Reviewed-on: https://code.wireshark.org/review/4976 Reviewed-by: Guy Harris --- epan/asm_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/asm_utils.c') diff --git a/epan/asm_utils.c b/epan/asm_utils.c index afc0b2c3a8..e02a737850 100644 --- a/epan/asm_utils.c +++ b/epan/asm_utils.c @@ -47,7 +47,7 @@ wrs_str_equal(gconstpointer a, gconstpointer b) } guchar -wrs_check_charset(const guchar table[256], const char *str) +wrs_check_charset(const guint8 table[256], const char *str) { const char *p = str; guchar c; -- cgit v1.2.3