Matt McCutchen's Web Site
/
bigint
/
bigint.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Old snapshot `bigint-2006.08.14'; see the ChangeLog file.
[bigint/bigint.git]
/
BigUnsigned.cc
diff --git
a/BigUnsigned.cc
b/BigUnsigned.cc
index
ecf1055
..
ad96026
100644
(file)
--- a/
BigUnsigned.cc
+++ b/
BigUnsigned.cc
@@
-731,7
+731,7
@@
void BigUnsigned::bitXor(const BigUnsigned &a, const BigUnsigned &b) {
a2 = &b;
b2 = &a;
}
- allocate(
b
2->len);
+ allocate(
a
2->len);
for (i = 0; i < b2->len; i++)
blk[i] = a2->blk[i] ^ b2->blk[i];
for (; i < a2->len; i++)