summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-05-19 18:54:58 +0200
committerJo-Philipp Wich <jow@openwrt.org>2015-05-19 18:54:58 +0200
commite8a1e7d224918ba23fe0cd125e70907cb31aea31 (patch)
tree8a28b33406dc57ec736fb37c62f23178e15878f7 /include
parent5aef442328121483ac0b7925c0422e92788c9e7b (diff)
downloadiwinfo-e8a1e7d224918ba23fe0cd125e70907cb31aea31.tar.gz
Fix -Wall -Wpedantic warnings
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'include')
-rw-r--r--include/iwinfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/iwinfo.h b/include/iwinfo.h
index 95020a4..a3380ca 100644
--- a/include/iwinfo.h
+++ b/include/iwinfo.h
@@ -121,7 +121,7 @@ struct iwinfo_crypto_entry {
struct iwinfo_scanlist_entry {
uint8_t mac[6];
- uint8_t ssid[IWINFO_ESSID_MAX_SIZE+1];
+ char ssid[IWINFO_ESSID_MAX_SIZE+1];
enum iwinfo_opmode mode;
uint8_t channel;
uint8_t signal;
@@ -132,12 +132,12 @@ struct iwinfo_scanlist_entry {
struct iwinfo_country_entry {
uint16_t iso3166;
- uint8_t ccode[4];
+ char ccode[4];
};
struct iwinfo_iso3166_label {
uint16_t iso3166;
- uint8_t name[28];
+ char name[28];
};
struct iwinfo_hardware_id {