From 0af002cc3524ac45defe464a929570b4c815c962 Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Mon, 26 Feb 2024 14:46:18 +0000 Subject: [PATCH] Fix win32. --- internal/win/shell32.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/win/shell32.go b/internal/win/shell32.go index 61cb0ab..45fd7dc 100644 --- a/internal/win/shell32.go +++ b/internal/win/shell32.go @@ -49,7 +49,7 @@ const ( ) // https://docs.microsoft.com/en-us/windows/win32/api/shobjidl_core/ne-shobjidl_core-_fileopendialogoptions -type _FILEOPENDIALOGOPTIONS int +type _FILEOPENDIALOGOPTIONS uint32 const ( FOS_OVERWRITEPROMPT _FILEOPENDIALOGOPTIONS = 0x2 @@ -78,7 +78,7 @@ const ( ) // https://docs.microsoft.com/en-us/windows/win32/api/shobjidl_core/ne-shobjidl_core-sigdn -type SIGDN int +type SIGDN int32 const ( SIGDN_NORMALDISPLAY SIGDN = 0x00000000