diff options
| author | 2022-01-11 13:53:23 -0800 | |
|---|---|---|
| committer | 2022-01-12 17:36:17 +0000 | |
| commit | d9fdc2cdd2caa7ab2f15343b0820423fb2869c35 (patch) | |
| tree | b023f4835a0d52d1bae04610fbd1dd7543408126 /api/api.go | |
| parent | bc8f2567210a686fba5f0d5ddd818164ef0a987f (diff) | |
Return 0 instead of NULL for jlong
musl libc defines NULL as nullptr, which is explicitly allowed by
C++11. nullptr_t cannot be implicitly cast to an integral type.
Return 0 instead.
Bug: 190084016
Test: m USE_HOST_MUSL=true host-native
Change-Id: Id83c1994a95cb105785c8ad902d2fe0589cb188d
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions