projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow mono-wrapper executable to be overridden by environment
[mono.git]
/
mcs
/
class
/
System.Drawing
/
System.Drawing
/
Point.cs
diff --git
a/mcs/class/System.Drawing/System.Drawing/Point.cs
b/mcs/class/System.Drawing/System.Drawing/Point.cs
index 643d82c7ef8804ec80c6859f6e5c54ba3618d823..4737c4f1d455d97c26b28ffa11dc82468b0de1c4 100644
(file)
--- a/
mcs/class/System.Drawing/System.Drawing/Point.cs
+++ b/
mcs/class/System.Drawing/System.Drawing/Point.cs
@@
-226,7
+226,7
@@
namespace System.Drawing
public Point (int dw)
{
y = dw >> 16;
- x =
dw & 0xffff
;
+ x =
unchecked ((short) (dw & 0xffff))
;
}
/// <summary>