summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAggarwal, Nishank <naggar@codeaurora.org>2016-09-06 18:19:50 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-09-06 14:26:15 -0700
commit9130c3db8d77daa57d11cca8d8b9181a439d9737 (patch)
tree1ee2f9355155f44826be75e0c4b28142e5b99ccf
parent38e8ce8849cab9bd1be58038f591d75059b739fd (diff)
qcacld-3.0: Fix compilation issue for 32 bit builds
In function csr_roam_chk_lnk_disassoc_ind format specifier to print sizeof() is for 64 bit systems which leads in compilation error on 32 bit systems. Fix this issue by common format specifier for both 32 and 64 bit compilation. Change-Id: Ib3a5df243c8c29040321af4bdcf7230a6e5e0e52 CRs-Fixed: 1055344
-rw-r--r--core/sme/src/csr/csr_api_roam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c
index 1c9a61013c3b..a40e7bf8ac03 100644
--- a/core/sme/src/csr/csr_api_roam.c
+++ b/core/sme/src/csr/csr_api_roam.c
@@ -10295,7 +10295,7 @@ csr_roam_chk_lnk_disassoc_ind(tpAniSirGlobal mac_ctx, tSirSmeRsp *msg_ptr)
cmd = qdf_mem_malloc(sizeof(*cmd));
if (NULL == cmd) {
sms_log(mac_ctx, LOGE,
- FL("memory allocation failed for size = %ld"),
+ FL("memory allocation failed for size = %zu"),
sizeof(*cmd));
return;
}