diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-10-27 10:07:54 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-10-27 10:07:54 +0000 |
commit | f66837cb5e753e690d9de9266402154482f14504 (patch) | |
tree | db5e37c6a26aef2759fe3a64e295ae4ddfd75606 | |
parent | d1d833365820cd37cd43767e9624048498e1f4b9 (diff) | |
parent | fa06aa6de211d34b92cca3285f65f9ab251ff115 (diff) |
Snap for 7858323 from fa06aa6de211d34b92cca3285f65f9ab251ff115 to t-keystone-qcom-release
Change-Id: I16c42ac6ee04b4afa6b87e0177851cd558196467
-rw-r--r-- | src/fastrpc_apps_user.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fastrpc_apps_user.c b/src/fastrpc_apps_user.c index 1dbc58e..867702d 100644 --- a/src/fastrpc_apps_user.c +++ b/src/fastrpc_apps_user.c @@ -1250,7 +1250,12 @@ bail: } int remote_mmap(int fd, uint32_t flags, uint32_t vaddrin, int size, uint32_t* vaddrout) { - return remote_mmap64(fd, flags, (uintptr_t)vaddrin, (int64_t)size, (uint64_t*)vaddrout); + uint64_t vaddrout_64; + int nErr = 0; + + nErr = remote_mmap64(fd, flags, (uintptr_t)vaddrin, (int64_t)size, &vaddrout_64); + *vaddrout = (uint32_t)vaddrout_64; + return nErr; } int remote_munmap64(uint64_t vaddrout, int64_t size) { |