commit | cc8d9f9fcbc170dedba609a15705e838cf09218b | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Oct 06 16:44:23 2016 -0700 |
committer | Colin Cross <ccross@android.com> | Fri Oct 07 13:10:20 2016 -0700 |
tree | 1b9a1588d8689d5cbaae340827aba04a5dd371e2 | |
parent | 64cd91274f63874af6fdad7f840a1b9a0b9d9a2a [diff] |
Avoid C-style cast warnings hardware/libhardware/include was being included with -isystem, which hides warnings. Use a macro to convert modules to hw_device_t** to call the open function that works in C++ and C. Bug: 32018017 Test: m -j Change-Id: If68bf15581975f1217fcab366cef7bc784894641