aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-12-14 13:16:22 -0800
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-12-15 21:17:15 +0000
commited0a9766c663bd690a4144e38283f4c2addf90b0 (patch)
treedb061a299606d4ca4caff0d0d1df67f553e4c281
parent088e94dee1a1d2bc5fa5ea6d02cff8edf4070d7d (diff)
downloadlibese-ed0a9766c663bd690a4144e38283f4c2addf90b0.tar.gz
Fix compiler warning.
Test: build aosp_taimen-userdebug with SANITIZE_TARGET=address Change-Id: If0a9e083e45d86c132f34b14df52994cdd8b4438 (cherry picked from commit df52de7a3abafbcc7dc126e6ff6f7edc92f44a24)
-rw-r--r--third_party/NXPNFC_P61_JCOP_Kit/src/JcopOsDownload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/NXPNFC_P61_JCOP_Kit/src/JcopOsDownload.cpp b/third_party/NXPNFC_P61_JCOP_Kit/src/JcopOsDownload.cpp
index 2a725ae..500b8fc 100644
--- a/third_party/NXPNFC_P61_JCOP_Kit/src/JcopOsDownload.cpp
+++ b/third_party/NXPNFC_P61_JCOP_Kit/src/JcopOsDownload.cpp
@@ -383,7 +383,7 @@ tJBL_STATUS JcopOsDwnld::GetInfo(JcopOs_ImageInfo_t* pImageInfo, tJBL_STATUS sta
#endif
{
ALOGE("Starting 3-Step update");
- memcpy(pImageInfo->fls_path, path[pImageInfo->index], sizeof(path[pImageInfo->index]));
+ memcpy(pImageInfo->fls_path, (char *)path[pImageInfo->index], sizeof(path[pImageInfo->index]));
pImageInfo->index++;
}
status = STATUS_OK;