commit | 9adfeaf07d46772fdae3512cbfee8082689ee967 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Jan 21 17:22:09 2022 -0800 |
committer | Colin Cross <ccross@android.com> | Thu Jan 27 17:08:31 2022 -0800 |
tree | 35b8e7eddcb3419476acdd31ed7de7d5dec16f9b | |
parent | 6d5ef677c9eb274147043a431993e7646dab4669 [diff] |
Fix building libbinder against musl musl libc uses the posix definition of msg_iovlen as int. Change the niovs argument to an int, make sure it is not negative, and cast it to size_t if necessary. Bug: 190084016 Test: m USE_HOST_MUSL=true host-native Change-Id: I6ff9206e9e7396f2f89622735f790b4fac18f76c