commit | f56dc281ceea53f191ee3fb773a44aa4e5dc76ce | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Wed Sep 28 20:41:50 2011 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Wed Sep 28 20:41:50 2011 +0000 |
tree | 7d980657dfe8548ce2ef57ff4023d541a16bf7ac | |
parent | b18abd077e168f38acb1633c4101fbe3c8a18e41 [diff] |
NULL cannot be portably used as the last argument to a function with __attribute((sentinel)), even though it usually works. Use (void*)0 instead. PR11002. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140720 91177308-0d34-0410-b5e6-96231b3b80d8