diff options
author | der richter <der.richter@gmx.de> | 2020-12-19 21:47:19 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2020-12-19 21:47:19 +0100 |
commit | dde01892791c64183341120409d0f7eef6d60749 (patch) | |
tree | d7f9ee7e53cdb1c72f03e210c21e083a7def7269 /video | |
parent | af264029483656e04458a678849165f0340433ab (diff) | |
download | mpv-dde01892791c64183341120409d0f7eef6d60749.tar.bz2 mpv-dde01892791c64183341120409d0f7eef6d60749.tar.xz |
mac: fix type mismatch Int instead of Int32
Diffstat (limited to 'video')
-rw-r--r-- | video/out/mac/common.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/mac/common.swift b/video/out/mac/common.swift index e27d17d621..20718b169a 100644 --- a/video/out/mac/common.swift +++ b/video/out/mac/common.swift @@ -441,7 +441,7 @@ class Common: NSObject { videoOut vo: UnsafeMutablePointer<vo>) -> NSRect { let r = targetScreen.convertRectToBacking(targetScreen.frame) let targetFrame = - (mpv?.macOpts.macos_geometry_calculation ?? FRAME_VISIBLE) == FRAME_VISIBLE ? + (mpv?.macOpts.macos_geometry_calculation ?? Int32(FRAME_VISIBLE)) == FRAME_VISIBLE ? targetScreen.visibleFrame : targetScreen.frame let rv = targetScreen.convertRectToBacking(targetFrame) |