Skip to content

Commit

Permalink
fix a compilation warning on the bleeding edge
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Sansonetti committed Apr 18, 2011
1 parent 088786a commit 4b7b568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objc.m
Expand Up @@ -822,7 +822,7 @@
if (implementsProtocolMethods(p, klass, true)
&& implementsProtocolMethods(p, klass, false)) {
unsigned int count = 0;
Protocol **list = protocol_copyProtocolList(p, &count);
Protocol **list = (Protocol **)protocol_copyProtocolList(p, &count);
bool success = true;
for (unsigned int i = 0; i < count; i++) {
if (!conformsToProtocol(klass, list[i])) {
Expand Down

0 comments on commit 4b7b568

Please sign in to comment.