mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-30 06:02:39 +01:00
wscutil: Change type for va_args for clang
clang complains about enum as var_arg type because of the argument standard conversion. In a small test I did neither clang nor gcc can properly warn about out of range values, so it's purely for documentation either way.
This commit is contained in:
parent
139c8af210
commit
cd4957eb55
@ -656,7 +656,7 @@ static int wsc_parse_attrs(const unsigned char *pdu, unsigned int len,
|
||||
struct wsc_wfa_ext_iter *ext_iter,
|
||||
enum wsc_attr authenticator_type,
|
||||
uint8_t *authenticator,
|
||||
enum wsc_attr type, ...)
|
||||
int type, ...)
|
||||
{
|
||||
struct wsc_attr_iter iter;
|
||||
struct l_queue *entries;
|
||||
|
Loading…
Reference in New Issue
Block a user