commit | df52de7a3abafbcc7dc126e6ff6f7edc92f44a24 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Dec 14 13:16:22 2017 -0800 |
committer | Chih-Hung Hsieh <chh@google.com> | Thu Dec 14 13:16:22 2017 -0800 |
tree | 600e44b462f7a83594d8c077bd0e87d8da7c3166 | |
parent | ece867c88c6d98edfee26b7ef99e17e4847eeb48 [diff] |
Fix compiler warning. Test: build aosp_taimen-userdebug with SANITIZE_TARGET=address Change-Id: If0a9e083e45d86c132f34b14df52994cdd8b4438
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 @@ #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;