[Bug 31269] System.OverflowException in .NET application using Decimal data type
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Jul 23 16:34:16 CDT 2012
http://bugs.winehq.org/show_bug.cgi?id=31269
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |focht at gmx.net
Ever Confirmed|0 |1
--- Comment #5 from Anastasius Focht <focht at gmx.net> 2012-07-23 16:34:16 CDT ---
Hello,
add a test case to "test_VarDecCmp":
http://source.winehq.org/git/wine.git/blob/af3114a5c4c9d69fa34a7dec80fe4e6c3d05e9b0:/dlls/oleaut32/tests/vartype.c#l4452
like this:
--- snip ---
SETDEC(l,3,0,0,123456); SETDEC64(out,0,0,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF);
MATH1(VarDecCmp); EXPECT_LT;
--- snip ---
(overflow in scaling), fix it and you should be fine ;-)
Regards
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list