From e9461e27f98a25239ee454ef236c60c9431c74bd Mon Sep 17 00:00:00 2001 From: Michael Schneider Date: Mon, 5 Nov 2018 18:44:28 -0800 Subject: [PATCH] Fix warning using __builtin_popcount --- Source/ASConfigurationInternal.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ASConfigurationInternal.mm b/Source/ASConfigurationInternal.mm index fabbfbf3f..596719000 100644 --- a/Source/ASConfigurationInternal.mm +++ b/Source/ASConfigurationInternal.mm @@ -74,7 +74,7 @@ - (BOOL)activateExperimentalFeature:(ASExperimentalFeatures)requested 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.