From 0db468e300287b8c8ee691f23873b299f64da0c7 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 16 Oct 2014 11:44:06 -0700 Subject: gchar is not guaranteed to be signed; use gint8. C does not guarantee that char is signed (that's why there's a keyword "signed"). Use gint8, to indicate that it's not a character, it's an 8-bit signed integer. Change-Id: Id632df23352840cbc86a4d88f4c7dade95ab7837 Reviewed-on: https://code.wireshark.org/review/4736 Reviewed-by: Guy Harris --- caputils/airpcap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'caputils/airpcap.h') diff --git a/caputils/airpcap.h b/caputils/airpcap.h index 035df2461f..e7b65fe698 100644 --- a/caputils/airpcap.h +++ b/caputils/airpcap.h @@ -284,7 +284,7 @@ typedef struct _AirpcapChannelInfo In case of 802.11a/b/g channels (802.11n legacy mode), this field should be set to 0. */ - gchar ExtChannel; + gint8 ExtChannel; guint8 Reserved[3]; /* < Reserved. It should be set to {0,0,0}. */ } AirpcapChannelInfo, *PAirpcapChannelInfo; -- cgit v1.2.3