summaryrefslogtreecommitdiff
path: root/caputils/airpcap.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-10-16 11:44:06 -0700
committerGuy Harris <guy@alum.mit.edu>2014-10-16 18:44:30 +0000
commit0db468e300287b8c8ee691f23873b299f64da0c7 (patch)
tree4b0a449d0f4ad88e38386566fd5a139a0546bc9c /caputils/airpcap.h
parent50add40a2da49178fd784b063e44d59208d40d02 (diff)
downloadwireshark-0db468e300287b8c8ee691f23873b299f64da0c7.tar.gz
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 <guy@alum.mit.edu>
Diffstat (limited to 'caputils/airpcap.h')
-rw-r--r--caputils/airpcap.h2
1 files changed, 1 insertions, 1 deletions
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;