commit | aab9650735008356a19aee3f5764cca17a0797ec | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Jan 11 14:03:07 2022 -0800 |
committer | Colin Cross <ccross@android.com> | Tue Jan 11 14:03:07 2022 -0800 |
tree | 4f6d6ab927e0aafbd02d0c5fda8beb7708add691 | |
parent | 6420ec756f3763a47c226bee374b966638b8d4ed [diff] |
Use static_cast for NULL to pointer type musl libc defines NULL as nullptr, which is explicitly allowed by C++11. nullptr_t cannot be cast to a pointer with reinterpret_cast, static_cast must be used instead. Bug: 190084016 Test: m USE_HOST_MUSL=true host-native Change-Id: I92aba15f5c0548ed6409c953ff55267e8f7e58a6
This project is not developed any further. Only Bug fixes will be merged, but new features won't.
An actively maintained fork with new features is available at https://github.com/rillig/sfntly