Alex Richardson 47ceb65f3c Fix capsicum-test build with GCC
Apparently GCC defines NULL to 0 in C++11 mode (instead of nullptr), so
this causes the following error:
```
In file included from capsicum-test.h:15,
                 from capsicum-test.cc:1:
gtest-1.10.0/include/gtest/gtest.h: In instantiation of 'testing::AssertionResult testing::internal::CmpHelperNE(const char*, const char*, const T1&, const T2&) [with T1 = long int; T2 = procstat*]':
capsicum-test.cc:75:3:   required from here
gtest-1.10.0/include/gtest/gtest.h:1621:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
 1609 |   if (val1 op val2) {\
      |       ~~~~~~~~~~~~
......
 1621 | GTEST_IMPL_CMP_HELPER_(NE, !=);
gtest-1.10.0/include/gtest/gtest.h:1609:12: note: in definition of macro 'GTEST_IMPL_CMP_HELPER_'
 1609 |   if (val1 op val2) {\
      |            ^~
```

Fix this by using nullptr directly.

Submitted upstream as https://github.com/google/capsicum-test/pull/56

Reported by:	Jenkins CI
2021-03-03 13:53:45 +00:00
..
2021-02-17 23:02:01 +01:00
2021-02-10 22:03:22 -08:00
2021-03-01 16:01:44 +01:00
2020-12-10 10:58:30 +00:00
2020-03-29 02:40:03 +00:00
2020-10-24 15:58:42 +00:00
2019-12-21 21:05:53 +00:00
2020-01-25 21:16:45 +00:00
2021-01-13 23:56:18 -06:00
2020-10-24 17:08:59 +00:00
2020-07-10 19:58:07 +00:00
2020-06-24 01:51:05 +00:00
2021-02-26 16:32:01 +01:00
2021-02-23 17:47:07 +00:00
2020-06-17 10:42:20 +00:00
2019-11-20 23:56:20 +00:00
2021-01-12 00:56:35 +02:00
2021-01-25 20:24:44 -08:00
2020-06-22 07:46:24 +00:00
2021-01-02 21:03:28 +02:00
2020-06-17 11:57:48 +00:00
2021-02-18 19:10:33 +01:00