Fix print format for size_t
Fix following compilation issues on 32 bit platform
hostapd/src/ap/ieee802_11_eht.c:959:6: error: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
common_info_len);
^~~~~~~~~~~~~~~
hostapd/src/ap/ieee802_11_eht.c:1130:7: error: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
link_info->nstr_bitmap_len);
^~~~~~~~~~~~~~~~~~~~~~~~~~
Using %zu ensures consistent output across different platforms and
compilers, regardless of the underlying size of size_t.
Bug: 317188936
Test: m
Change-Id: Ibdd90dba18de0f3b1d14711afcdad523a85682e5
1 file changed