projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[FAST486]
[reactos.git]
/
lib
/
fast486
/
opgroups.c
diff --git
a/lib/fast486/opgroups.c
b/lib/fast486/opgroups.c
index
b786d39
..
f29bf51
100644
(file)
--- a/
lib/fast486/opgroups.c
+++ b/
lib/fast486/opgroups.c
@@
-43,7
+43,7
@@
Fast486ArithmeticOperation(PFAST486_STATE State,
{
ULONG Result;
ULONG SignFlag = 1 << (Bits - 1);
- ULONG MaxValue = (
1 << Bits) - 1
;
+ ULONG MaxValue = (
SignFlag - 1) | SignFlag
;
/* Make sure the values don't exceed the maximum for their size */
FirstValue &= MaxValue;