diff --git a/components/other/windows/otherWindows.swift b/components/other/windows/otherWindows.swift index 191d3d6..62e1663 100644 --- a/components/other/windows/otherWindows.swift +++ b/components/other/windows/otherWindows.swift @@ -3,7 +3,7 @@ import WinSDK func otherSetupWindowIcons(_ iconId: Int) { // Only visit windows owned by this UI thread, never another application's window. EnumThreadWindows(GetCurrentThreadId(), { wnd, iconId in - let resource = UnsafePointer(bitPattern: iconId) + let resource = UnsafePointer(bitPattern: Int(iconId)) let module = GetModuleHandleW(nil) // Small icon