[Mwinapi-commits] SF.net SVN: mwinapi:[104] trunk/ManagedWinapi
Status: Beta
Brought to you by:
schierlm
From: <sch...@us...> - 2011-01-22 20:07:54
|
Revision: 104 http://mwinapi.svn.sourceforge.net/mwinapi/?rev=104&view=rev Author: schierlm Date: 2011-01-22 20:07:48 +0000 (Sat, 22 Jan 2011) Log Message: ----------- Fix OverflowException on x64 architecture Modified Paths: -------------- trunk/ManagedWinapi/Properties/AssemblyInfo.cs trunk/ManagedWinapi/SystemWindow.cs Modified: trunk/ManagedWinapi/Properties/AssemblyInfo.cs =================================================================== --- trunk/ManagedWinapi/Properties/AssemblyInfo.cs 2011-01-14 21:55:15 UTC (rev 103) +++ trunk/ManagedWinapi/Properties/AssemblyInfo.cs 2011-01-22 20:07:48 UTC (rev 104) @@ -31,5 +31,5 @@ // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("0.3.0.1")] -[assembly: AssemblyFileVersion("0.3.0.1")] +[assembly: AssemblyVersion("0.3.0.2")] +[assembly: AssemblyFileVersion("0.3.0.2")] Modified: trunk/ManagedWinapi/SystemWindow.cs =================================================================== --- trunk/ManagedWinapi/SystemWindow.cs 2011-01-14 21:55:15 UTC (rev 103) +++ trunk/ManagedWinapi/SystemWindow.cs 2011-01-22 20:07:48 UTC (rev 104) @@ -625,7 +625,7 @@ { get { - return (WindowStyleFlags)GetWindowLongPtr(_hwnd, (int)(GWL.GWL_STYLE)); + return unchecked((WindowStyleFlags)GetWindowLongPtr(_hwnd, (int)(GWL.GWL_STYLE)).ToInt64()); } set { @@ -641,7 +641,7 @@ { get { - return (WindowExStyleFlags)GetWindowLongPtr(_hwnd, (int)(GWL.GWL_EXSTYLE)); + return unchecked((WindowExStyleFlags)GetWindowLongPtr(_hwnd, (int)(GWL.GWL_EXSTYLE)).ToInt64()); } set { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |