commit | 4f98785e4debdc8090fc0d5bfda2574b60f6ce46 | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Tue Jul 14 12:21:26 2020 -0700 |
committer | Stephen Hines <srhines@google.com> | Tue Jul 14 12:21:26 2020 -0700 |
tree | 90bb859d7c0376c96092ac5bed2e275ff9f931a4 | |
parent | fff944ed86fd8ab67cd3e961368522b1132d43a3 [diff] |
Switch to using 0 instead of NULL for a void* -> int cast system/memory/libion/ion.c:51:32: error: cast to smaller integer type 'ion_user_handle_t' (aka 'int') from 'void *' [-Werror,-Wvoid-pointer-to-int-cast] int err = ion_free(fd, (ion_user_handle_t)NULL); ^~~~~~~~~~~~~~~~~~~~~~~ Bug: http://b/155835175 Test: m with aosp_blueline Change-Id: I0d663ddbc245764b469c4f589831586ea7e55148