commit | f629af0384d3cc5c266911c4dc51a79bf3531598 | [log] [tgz] |
---|---|---|
author | Lingfeng Yang <lfy@google.com> | Sat Oct 19 20:45:02 2019 -0700 |
committer | Lingfeng Yang <lfy@google.com> | Sun Oct 20 03:45:39 2019 +0000 |
tree | f5cfa3a9e22b2f30a46ac67adb9f66e4f39b3ea6 | |
parent | 576135964ffd8576999fab69c7ed8c9a3ddb3b4c [diff] |
fix build Change-Id: I3fbc17ced9d51aaad513661aa296c41a6d0c4bc0
diff --git a/shared/OpenglCodecCommon/goldfish_address_space_android.impl b/shared/OpenglCodecCommon/goldfish_address_space_android.impl index a4ebac2..9b0c744 100644 --- a/shared/OpenglCodecCommon/goldfish_address_space_android.impl +++ b/shared/OpenglCodecCommon/goldfish_address_space_android.impl
@@ -477,7 +477,7 @@ if (res == MAP_FAILED) { ALOGE("%s: failed to map. errno: %d\n", __func__, errno); - return nullptr; + return 0; } return (void*)(((char*)res) + (uintptr_t)(pgoff & (PAGE_SIZE - 1)));