Skip to content

Commit

Permalink
fixed some linux compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Burks committed Jul 3, 2010
1 parent e55e3b4 commit 33d095f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions objc/cell.m
Expand Up @@ -277,7 +277,7 @@ - (id) each:(id) block
return self;
}

- (id) eachPair:(NuBlock *) block
- (id) eachPair:(id) block
{
if (nu_objectIsKindOfClass(block, [NuBlock class])) {
id args = [[NuCell alloc] init];
Expand All @@ -294,7 +294,7 @@ - (id) eachPair:(NuBlock *) block
return self;
}

- (id) eachWithIndex:(NuBlock *) block
- (id) eachWithIndex:(id) block
{
if (nu_objectIsKindOfClass(block, [NuBlock class])) {
id args = [[NuCell alloc] init];
Expand All @@ -313,7 +313,7 @@ - (id) eachWithIndex:(NuBlock *) block
return self;
}

- (id) select:(NuBlock *) block
- (id) select:(id) block
{
NuCell *parent = [[NuCell alloc] init];
if (nu_objectIsKindOfClass(block, [NuBlock class])) {
Expand All @@ -338,7 +338,7 @@ - (id) select:(NuBlock *) block
return selected;
}

- (id) find:(NuBlock *) block
- (id) find:(id) block
{
if (nu_objectIsKindOfClass(block, [NuBlock class])) {
id args = [[NuCell alloc] init];
Expand All @@ -357,7 +357,7 @@ - (id) find:(NuBlock *) block
return Nu__null;
}

- (id) map:(NuBlock *) block
- (id) map:(id) block
{
NuCell *parent = [[NuCell alloc] init];
if (nu_objectIsKindOfClass(block, [NuBlock class])) {
Expand Down Expand Up @@ -399,7 +399,7 @@ - (id) mapSelector:(SEL) sel
return result;
}

- (id) reduce:(NuBlock *) block from:(id) initial
- (id) reduce:(id) block from:(id) initial
{
id result = initial;
if (nu_objectIsKindOfClass(block, [NuBlock class])) {
Expand Down

0 comments on commit 33d095f

Please sign in to comment.