blob: 8de0c1b3cf6b0d8dd21e91184f10a90335f3f65b [file] [log] [blame]
developer2bf53a92022-06-06 12:08:58 +08001diff -urN a/core/src/bm/src/bm_ieee80211.c b/core/src/bm/src/bm_ieee80211.c
2--- a/core/src/bm/src/bm_ieee80211.c 2022-06-02 13:18:30.792245507 +0800
3+++ b/core/src/bm/src/bm_ieee80211.c 2022-06-02 13:19:57.178711952 +0800
4@@ -294,7 +294,7 @@
5 memset(&client->op_classes, 0, sizeof(client->op_classes));
6
7 if (len > BM_CLIENT_MAX_OP_CLASSES) {
8- LOGW("%s Size of operating classes more than expected (%d): %d",
9+ LOGW("%s Size of operating classes more than expected (%zu): %d",
10 client->mac_addr, len, BM_CLIENT_MAX_OP_CLASSES);
11 client->op_classes.size = BM_CLIENT_MAX_OP_CLASSES;
12 } else {
13diff -urN a/platform/rdk/src/lib/target/src/bsal_legacy.c b/platform/rdk/src/lib/target/src/bsal_legacy.c
14--- a/platform/rdk/src/lib/target/src/bsal_legacy.c 2022-06-02 13:03:06.764635550 +0800
15+++ b/platform/rdk/src/lib/target/src/bsal_legacy.c 2022-06-02 13:03:48.023904674 +0800
16@@ -1068,7 +1068,7 @@
17 memcpy(info, &client_info_cache->client, sizeof(*info));
18 }
19 #endif
20- LOGI("BSAL Client "MAC_ADDR_FMT" is connected apIndex: %d, SNR: %d, rx: %lld, tx: %lld", MAC_ADDR_UNPACK(mac_addr),
21+ LOGI("BSAL Client "MAC_ADDR_FMT" is connected apIndex: %d, SNR: %d, rx: %zu, tx: %zu", MAC_ADDR_UNPACK(mac_addr),
22 apIndex, info->snr, info->rx_bytes, info->tx_bytes);
23
24 break;
25diff -urN a/platform/rdk/src/tools/band_steering_test/bs_testd/bs_testd.c b/platform/rdk/src/tools/band_steering_test/bs_testd/bs_testd.c
26--- a/platform/rdk/src/tools/band_steering_test/bs_testd/bs_testd.c 2022-06-02 13:32:26.222966518 +0800
27+++ b/platform/rdk/src/tools/band_steering_test/bs_testd/bs_testd.c 2022-06-02 13:35:42.306842191 +0800
28@@ -906,7 +906,7 @@
29 }
30
31 total_bytes += bytes;
32- LOGD("total_bytes = %d\n", total_bytes);
33+ LOGD("total_bytes = %zu\n", total_bytes);
34
35 if (total_bytes >= (ssize_t)sizeof(buf) && buf[sizeof(buf) - 1] != '\0')
36 {
37@@ -921,7 +921,7 @@
38 // Otherwise we're blocking (on purpose).
39 // in case of client malfunction this loop needs to be interrupted by a signal.
40 // Non-blocking variant may be implemented in the future.
41- LOGD("incomplete, bytes = %d , buf = >>%s<<\n", bytes, buf);
42+ LOGD("incomplete, bytes = %zu , buf = >>%s<<\n", bytes, buf);
43 incomplete = true;
44 ptr += bytes;
45 continue;