mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 10:47:02 -07:00
Fix overflow exception [skip ci]
This commit is contained in:
parent
768efcf7fe
commit
193eb7d6d9
2 changed files with 2 additions and 2 deletions
|
@ -865,7 +865,7 @@ namespace GreenshotPlugin.Core {
|
|||
return (WindowStyleFlags)User32.GetWindowLongWrapper(hWnd, (int)WindowLongIndex.GWL_STYLE);
|
||||
}
|
||||
set {
|
||||
User32.SetWindowLongWrapper(hWnd, (int)WindowLongIndex.GWL_STYLE, new IntPtr((uint)value));
|
||||
User32.SetWindowLongWrapper(hWnd, (int)WindowLongIndex.GWL_STYLE, new IntPtr((long)value));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ namespace GreenshotPlugin.UnmanagedHelpers {
|
|||
/// Window Style Flags
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum WindowStyleFlags : uint {
|
||||
public enum WindowStyleFlags : long {
|
||||
//WS_OVERLAPPED = 0x00000000,
|
||||
WS_POPUP = 0x80000000,
|
||||
WS_CHILD = 0x40000000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue