Skip to content

Commit

Permalink
Fix warning using __builtin_popcount (TextureGroup#1218)
Browse files Browse the repository at this point in the history
  • Loading branch information
maicki authored and mikezucc committed Nov 7, 2018
1 parent 87f3595 commit 9759960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ASConfigurationInternal.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9759960

Please sign in to comment.