From 013ac890c0d5eeeb1740a79932555286bb45fc00 Mon Sep 17 00:00:00 2001 From: Kuba Brecka Date: Tue, 22 Mar 2016 14:59:46 +0000 Subject: [tsan] Change nullptr to NULL in one Darwin test. Depending on the version of libcxx, nullptr might not be available. Let's use NULL instead. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@264058 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tsan/Darwin/gcd-groups-stress.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/tsan/Darwin/gcd-groups-stress.mm b/test/tsan/Darwin/gcd-groups-stress.mm index 62a80085e..9ed85bdfe 100644 --- a/test/tsan/Darwin/gcd-groups-stress.mm +++ b/test/tsan/Darwin/gcd-groups-stress.mm @@ -30,7 +30,7 @@ int main() { dispatch_async(q, ^{ dispatch_group_leave(g); }); - dispatch_group_notify_f(g, q, nullptr, ¬ify_callback); + dispatch_group_notify_f(g, q, NULL, ¬ify_callback); dispatch_release(g); } -- cgit v1.2.3