eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit f05e60f338c838be725f165d52925b6dedb725d7
parent 994c18c44ed268bca57779396aae630ee2a1a45f
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Wed,  5 Jan 2022 13:49:04 -0600

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);
      |   ^~~~~~~

Diffstat:
Msrc/dpp.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dpp.c b/src/dpp.c @@ -1232,7 +1232,7 @@ static void authenticate_request(struct dpp_sm *dpp, const uint8_t *from, } 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; }