mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 23:09:34 +01:00
dpp: Fix compilation on 32 bit
In file included from ./ell/ell.h:15, from ../../src/dpp.c:29: ../../src/dpp.c: In function ‘authenticate_request’: ../../ell/log.h:79:22: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 79 | l_log(L_LOG_DEBUG, "%s:%s() " format, __FILE__, \ | ^~~~~~~~~~ ../../ell/log.h:54:16: note: in definition of macro ‘l_log’ 54 | __func__, format "\n", ##__VA_ARGS__) | ^~~~~~ ../../ell/log.h:103:31: note: in expansion of macro ‘L_DEBUG_SYMBOL’ 103 | #define l_debug(format, ...) L_DEBUG_SYMBOL(__debug_desc, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~ ../../src/dpp.c:1235:3: note: in expansion of macro ‘l_debug’ 1235 | l_debug("I-Nonce has unexpected length %lu", i_nonce_len); | ^~~~~~~
This commit is contained in:
parent
994c18c44e
commit
f05e60f338
@ -1232,7 +1232,7 @@ static void authenticate_request(struct dpp_sm *dpp, const uint8_t *from,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (i_nonce_len != dpp->nonce_len) {
|
if (i_nonce_len != dpp->nonce_len) {
|
||||||
l_debug("I-Nonce has unexpected length %lu", i_nonce_len);
|
l_debug("I-Nonce has unexpected length %zu", i_nonce_len);
|
||||||
goto auth_request_failed;
|
goto auth_request_failed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user