Skip to content

Commit

Permalink
Analyzer warnings and spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
iccir committed Dec 8, 2012
1 parent 71c71c6 commit 35dc29c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Source/SwiffHTMLToCoreTextConverter.m
Expand Up @@ -247,6 +247,7 @@ static void sStartTextFormatElement(SwiffHTMLToCoreTextConverter *self, xmlEleme
if (tabStopsCString) {
NSString *tabStops = [[NSString alloc] initWithBytesNoCopy:tabStopsCString length:strlen(tabStopsCString) encoding:NSUTF8StringEncoding freeWhenDone:YES];
[attributes setTabStopsString:tabStops];
tabStopsCString = NULL;
}

// What is the difference between block indent and left margin?
Expand Down
2 changes: 1 addition & 1 deletion Source/SwiffScene.m
Expand Up @@ -79,7 +79,7 @@ - (void) clearWeakReferences
- (NSString *) description
{
NSString *nameString = _name ? [NSString stringWithFormat:@"name='%@', ", _name] : @"";
return [NSString stringWithFormat:@"<%@: %p; %@%d frames>", [self class], self, nameString, [_frames count]];
return [NSString stringWithFormat:@"<%@: %p; %@%lu frames>", [self class], self, nameString, (unsigned long) [_frames count]];
}


Expand Down
2 changes: 1 addition & 1 deletion Source/SwiffSoundDefinition.m
Expand Up @@ -220,7 +220,7 @@ - (float) sampleRate
if (_rawSampleRate == 0) return 5512.5f;
else if (_rawSampleRate == 1) return 11025.0f;
else if (_rawSampleRate == 2) return 22050.0f;
else return 44100.0f;
else return 44100.0f;
}

- (BOOL) isStreaming { return _libraryID == 0; }
Expand Down

0 comments on commit 35dc29c

Please sign in to comment.