File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ class InterfaceNanostack : public virtual NetworkInterface {
111
111
const char *get_mac_address () override ;
112
112
113
113
/* * @copydoc NetworkInterface::set_mac_address */
114
- nsapi_error_t set_mac_address (uint8_t *mac_addr, size_t addr_len) override ;
114
+ nsapi_error_t set_mac_address (uint8_t *mac_addr, nsapi_size_t addr_len) override ;
115
115
116
116
/* * Register callback for status reporting
117
117
*
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ const char *InterfaceNanostack::get_mac_address()
218
218
return NULL ;
219
219
}
220
220
221
- nsapi_error_t InterfaceNanostack::set_mac_address (uint8_t *mac_addr, size_t addr_len)
221
+ nsapi_error_t InterfaceNanostack::set_mac_address (uint8_t *mac_addr, nsapi_size_t addr_len)
222
222
{
223
223
return _interface->set_mac_address (mac_addr, addr_len);
224
224
}
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ class EMACInterface : public virtual NetworkInterface {
87
87
const char *get_mac_address () override ;
88
88
89
89
/* * @copydoc NetworkInterface::set_mac_address */
90
- nsapi_error_t set_mac_address (uint8_t *mac_addr, size_t addr_len);
90
+ nsapi_error_t set_mac_address (uint8_t *mac_addr, nsapi_size_t addr_len);
91
91
92
92
/* * @copydoc NetworkInterface::get_ip_address */
93
93
nsapi_error_t get_ip_address (SocketAddress *address) override ;
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ class NetworkInterface: public DNS {
117
117
* @retval NSAPI_ERROR_PARAMETER if address is not valid
118
118
* @retval NSAPI_ERROR_BUSY if address can't be set.
119
119
*/
120
- virtual nsapi_error_t set_mac_address (uint8_t *mac_addr, size_t addr_len);
120
+ virtual nsapi_error_t set_mac_address (uint8_t *mac_addr, nsapi_size_t addr_len);
121
121
122
122
/* * Get the local IP address
123
123
*
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ const char *EMACInterface::get_mac_address()
87
87
return nullptr ;
88
88
}
89
89
90
- nsapi_error_t EMACInterface::set_mac_address (uint8_t *mac_addr, size_t addr_len)
90
+ nsapi_error_t EMACInterface::set_mac_address (uint8_t *mac_addr, nsapi_size_t addr_len)
91
91
{
92
92
if (!mac_addr || addr_len != NSAPI_MAC_BYTES) {
93
93
return NSAPI_ERROR_PARAMETER;
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ const char *NetworkInterface::get_mac_address()
33
33
return 0 ;
34
34
}
35
35
36
- nsapi_error_t NetworkInterface::set_mac_address (uint8_t *mac_addr, size_t addr_len)
36
+ nsapi_error_t NetworkInterface::set_mac_address (uint8_t *mac_addr, nsapi_size_t addr_len)
37
37
{
38
38
return NSAPI_ERROR_UNSUPPORTED;
39
39
}
You can’t perform that action at this time.
0 commit comments