summaryrefslogtreecommitdiffstats
path: root/osdep/macos/mpv_helper.swift
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/macos/mpv_helper.swift')
-rw-r--r--osdep/macos/mpv_helper.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/macos/mpv_helper.swift b/osdep/macos/mpv_helper.swift
index 00c34924e3..d01694d736 100644
--- a/osdep/macos/mpv_helper.swift
+++ b/osdep/macos/mpv_helper.swift
@@ -81,7 +81,7 @@ class MPVHelper: LogHelper {
}
func setConfigProperty(fullscreen: Bool) {
- optsPtr.pointee.fullscreen = Int32(fullscreen)
+ optsPtr.pointee.fullscreen = fullscreen
m_config_cache_write_opt(optsCachePtr, UnsafeMutableRawPointer(&optsPtr.pointee.fullscreen))
}