diff options
author | Damiano Galassi <[email protected]> | 2019-06-07 11:26:23 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-06-07 11:26:23 +0200 |
commit | f85f228e588bc7a4d2fba43ab51eedfb475768c3 (patch) | |
tree | 97c0657365831061bc9ef8bc38e9af7ca75aac57 /macosx | |
parent | b0fce31fb6da40a98ef9af26845f67d81819f5b4 (diff) |
MacGui: fix warnings.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBPicture.m | 4 | ||||
-rw-r--r-- | macosx/HBQueueItem.m | 2 | ||||
-rw-r--r-- | macosx/HBRange.m | 2 | ||||
-rw-r--r-- | macosx/HBVideo.m | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/macosx/HBPicture.m b/macosx/HBPicture.m index 74c582509..42b72360a 100644 --- a/macosx/HBPicture.m +++ b/macosx/HBPicture.m @@ -476,7 +476,7 @@ NSString * const HBPictureChangedNotification = @"HBPictureChangedNotification"; srcGeo.par.num = self.sourceParNum; srcGeo.par.den = self.sourceParDen; - uiGeo.mode = self.anamorphicMode; + uiGeo.mode = (int)self.anamorphicMode; uiGeo.keep = self.keep; uiGeo.itu_par = 0; uiGeo.modulus = self.modulus; @@ -571,7 +571,7 @@ NSString * const HBPictureChangedNotification = @"HBPictureChangedNotification"; encodeInt(_height); encodeBool(_keepDisplayAspect); - encodeInt(_anamorphicMode); + encodeInt((int)_anamorphicMode); encodeInt(_modulus); encodeInt(_displayWidth); diff --git a/macosx/HBQueueItem.m b/macosx/HBQueueItem.m index bdcbc7002..095a5dc87 100644 --- a/macosx/HBQueueItem.m +++ b/macosx/HBQueueItem.m @@ -77,7 +77,7 @@ static NSString *versionKey = @"HBQueueItemVersion"; - (void)encodeWithCoder:(nonnull NSCoder *)coder { [coder encodeInt:1 forKey:versionKey]; - encodeInt(_state); + encodeInt((int)_state); encodeObject(_job); encodeObject(_uuid); } diff --git a/macosx/HBRange.m b/macosx/HBRange.m index 54468ff7a..4fd93c031 100644 --- a/macosx/HBRange.m +++ b/macosx/HBRange.m @@ -193,7 +193,7 @@ NSString *HBRangeChangedNotification = @"HBRangeChangedNotification"; { [coder encodeInt:1 forKey:@"HBRangeVersion"]; - encodeInt(_type); + encodeInt((int)_type); encodeInt(_chapterStart); encodeInt(_chapterStop); diff --git a/macosx/HBVideo.m b/macosx/HBVideo.m index 3de3ef66f..21e701bbf 100644 --- a/macosx/HBVideo.m +++ b/macosx/HBVideo.m @@ -492,7 +492,7 @@ NSString * const HBVideoChangedNotification = @"HBVideoChangedNotification"; encodeInt(_encoder); - encodeInt(_qualityType); + encodeInt((int)_qualityType); encodeInt(_avgBitrate); encodeDouble(_quality); @@ -500,7 +500,7 @@ NSString * const HBVideoChangedNotification = @"HBVideoChangedNotification"; encodeDouble(_qualityMaxValue); encodeInt(_frameRate); - encodeInt(_frameRateMode); + encodeInt((int)_frameRateMode); encodeBool(_twoPass); encodeBool(_turboTwoPass); |