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
1 file changed
tree: 4f6d6ab927e0aafbd02d0c5fda8beb7708add691
  1. cpp/
  2. doc/
  3. Android.bp
  4. CleanSpec.mk
  5. METADATA
  6. MODULE_LICENSE_APACHE2
  7. OWNERS
  8. README.android
  9. README.md
README.md

sfntly

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