1
0

CryptoPP compilation fixes for gcc 4.7

( http://forum.mc-server.org/showthread.php?tid=520&pid=4829#pid4829 )

git-svn-id: http://mc-server.googlecode.com/svn/trunk@941 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com
2012-10-07 08:38:33 +00:00
parent 6c186ff02a
commit e0d32e0688
5 changed files with 10 additions and 11 deletions

View File

@@ -58,7 +58,7 @@ template <class T> const T& AbstractEuclideanDomain<T>::Gcd(const Element &a, co
Element g[3]={b, a};
unsigned int i0=0, i1=1, i2=2;
while (!Equal(g[i1], this->Identity()))
while (!this->Equal(g[i1], this->Identity()))
{
g[i2] = Mod(g[i0], g[i1]);
unsigned int t = i0; i0 = i1; i1 = i2; i2 = t;