Skip to content

Commit

Permalink
Fixed compiler warning/errors when compiling with llvm-gcc.
Browse files Browse the repository at this point in the history
  • Loading branch information
araker committed Mar 18, 2012
1 parent fe09e23 commit 850ded6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cocos2d/CCTMXXMLParser.m
Expand Up @@ -119,7 +119,7 @@ -(void) parseXMLFile:(NSString *)xmlFilename;
/* initalises parsing of an XML string, either a tmx (Map) string or tsx (Tileset) string */
- (void) parseXMLString:(NSString *)xmlString;
/* handles the work of parsing for parseXMLFile: and parseXMLString: */
- (NSError*) parseXMLData:(NSData*)data;
- (void) parseXMLData:(NSData*)data;
@end

@implementation CCTMXMapInfo
Expand Down
2 changes: 1 addition & 1 deletion tests/SpriteTest.m
Expand Up @@ -4052,7 +4052,7 @@ -(id) init
CCSprite *child1 = [CCSprite spriteWithSpriteFrameName:@"grossini_dance_01.png"];
[child1 setPosition: ccp(sprite.contentSize.width / 2.0f, sprite.contentSize.height / 2.0f)];

[child1 setScale:0.8];
[child1 setScale:0.8f];

[sprite addChild: child1];

Expand Down
2 changes: 2 additions & 0 deletions tests/Texture2dTest.m
Expand Up @@ -1740,6 +1740,7 @@ -(id) init
}
-(void) dealloc
{
[super dealloc];
[tex1_ release];
[tex2_ release];
}
Expand Down Expand Up @@ -1784,6 +1785,7 @@ -(id) init
}
-(void) dealloc
{
[super dealloc];
[tex1_ release];
[tex2_ release];
}
Expand Down

0 comments on commit 850ded6

Please sign in to comment.