diff options
| -rw-r--r-- | CORE/SERVICES/DFS/src/dfs_phyerr_tlv.c | 2 | ||||
| -rw-r--r-- | CORE/SME/src/csr/csrNeighborRoam.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CORE/SERVICES/DFS/src/dfs_phyerr_tlv.c b/CORE/SERVICES/DFS/src/dfs_phyerr_tlv.c index a2e29b4e9aab..8ec07e0370cc 100644 --- a/CORE/SERVICES/DFS/src/dfs_phyerr_tlv.c +++ b/CORE/SERVICES/DFS/src/dfs_phyerr_tlv.c @@ -607,7 +607,7 @@ tlv_calc_event_freq_chirp(struct ath_dfs *dfs, struct rx_radar_status *rs, bin_resolution % 1000, radar_fft_long_period, total_bw / 100, - abs(total_bw % 100)); + (long int)abs(total_bw % 100)); #endif total_bw /= 100; /* back to KHz */ diff --git a/CORE/SME/src/csr/csrNeighborRoam.c b/CORE/SME/src/csr/csrNeighborRoam.c index 664bcd89a9bd..86463b2e06d6 100644 --- a/CORE/SME/src/csr/csrNeighborRoam.c +++ b/CORE/SME/src/csr/csrNeighborRoam.c @@ -2042,7 +2042,7 @@ csrNeighborRoamProcessScanResults(tpAniSirGlobal pMac, VOS_TRACE (VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_DEBUG, FL("Scan result: BSSID "MAC_ADDRESS_STR" (Rssi %ld, Ch:%d)"), MAC_ADDR_ARRAY(pScanResult->BssDescriptor.bssId), - abs(pScanResult->BssDescriptor.rssi), + (long int)abs(pScanResult->BssDescriptor.rssi), pScanResult->BssDescriptor.channelId); #endif if ((VOS_TRUE == vos_mem_compare(pScanResult->BssDescriptor.bssId, |
