From 7edaeab839a6196025dc07c1a7c6d3ee9c4cb6e7 Mon Sep 17 00:00:00 2001 From: Michael Schneider Date: Wed, 7 Nov 2018 07:01:19 -0800 Subject: [PATCH] Fix warning using __builtin_popcount (#1218) --- Source/ASConfigurationInternal.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ASConfigurationInternal.mm b/Source/ASConfigurationInternal.mm index fabbfbf3fb..596719000c 100644 --- a/Source/ASConfigurationInternal.mm +++ b/Source/ASConfigurationInternal.mm @@ -74,7 +74,7 @@ return NO; } - NSAssert(__builtin_popcount(requested) == 1, @"Cannot activate multiple features at once with this method."); + NSAssert(__builtin_popcountl(requested) == 1, @"Cannot activate multiple features at once with this method."); // We need to call out, whether it's enabled or not. // A/B testing requires even "control" users to be activated.