-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/source/cardmode.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.cc b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.cc index cf50d8c..626b28c 100644 --- a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.cc +++ b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.cc | |||
@@ -62,3 +62,3 @@ int card_into_monitormode (pcap_t **orighandle, const char *device, int cardtype | |||
62 | 62 | ||
63 | if(iw_set_ext(skfd,device,SIOCSIWMODE,&wrq)<0) | 63 | if(iw_set_ext(skfd,(char *) device,SIOCSIWMODE,&wrq)<0) |
64 | { | 64 | { |
@@ -105,3 +105,3 @@ int card_check_rfmon_datalink (const char *device) | |||
105 | pcap_t *phandle; | 105 | pcap_t *phandle; |
106 | phandle = pcap_open_live(device, 65,0,0,NULL); | 106 | phandle = pcap_open_live((char *)device, 65,0,0,NULL); |
107 | datalinktype = pcap_datalink (phandle); | 107 | datalinktype = pcap_datalink (phandle); |
@@ -218,3 +218,3 @@ int card_set_channel (const char *device, int channel, int cardtype) | |||
218 | 218 | ||
219 | if(iw_set_ext(skfd,device,SIOCSIWFREQ,&wrq)<0) | 219 | if(iw_set_ext(skfd,(char *) device,SIOCSIWFREQ,&wrq)<0) |
220 | { | 220 | { |
@@ -271,3 +271,3 @@ int iw_get_range_info(int skfd, const char * ifname, iw_range * range) | |||
271 | 271 | ||
272 | if(iw_get_ext(skfd, ifname, SIOCGIWRANGE, &wrq2) < 0) | 272 | if(iw_get_ext(skfd, (char *)ifname, SIOCGIWRANGE, &wrq2) < 0) |
273 | { | 273 | { |