Enabled and fixes some warnings.

This commit is contained in:
Damiano Galassi committed 2014-03-29 08:51:26 +01:00
1 parent a6dde47438
commit 0a85ee301a
13 files changed
+96 -87

No files matched your search

+3 -3
View File
@@ -70,7 +70,7 @@ static NSString *getLevelName(uint8_t level) {
[offsetX setStringValue: [NSString stringWithFormat:@"%d", track.offsetX]];
[offsetY setStringValue: [NSString stringWithFormat:@"%d", track.offsetY]];
[alternateGroup selectItemAtIndex:track.alternate_group];
[alternateGroup selectItemAtIndex:(NSInteger)track.alternate_group];
if ([track.format isEqualToString:MP42VideoFormatH264] && track.origProfile && track.origLevel) {
[profileLevelUnchanged setTitle:[NSString stringWithFormat:@"Current profile: %@ @ %@",
@@ -163,7 +163,7 @@ static NSString *getLevelName(uint8_t level) {
if (track.trackWidth != i) {
if ([preserveAspectRatio state] == NSOnState) {
track.trackHeight = (track.trackHeight / track.trackWidth) * i;
[trackHeight setIntegerValue:track.trackHeight];
[trackHeight setIntegerValue:(NSInteger)track.trackHeight];
}
track.trackWidth = i;
@@ -227,7 +227,7 @@ static NSString *getLevelName(uint8_t level) {
- (IBAction)setAltenateGroup:(id)sender
{
uint8_t tagName = [[sender selectedItem] tag];
NSInteger tagName = [[sender selectedItem] tag];
if (track.alternate_group != tagName) {
track.alternate_group = tagName;