summaryrefslogtreecommitdiff
path: root/net/mldonkey/patches/patch-src_utils_lib_CryptoPP.cc
blob: 2897ea74c27a4693b482d1cc521e0bd93eaddf9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-src_utils_lib_CryptoPP.cc,v 1.1 2012/03/28 20:40:38 wiz Exp $

Fix build with clang-3.1.

--- src/utils/lib/CryptoPP.cc.orig	2010-10-23 18:23:38.000000000 +0000
+++ src/utils/lib/CryptoPP.cc
@@ -5413,7 +5413,7 @@ template <class T> const T& AbstractEucl
 	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;