pkgsrc/net/boinc3-seti/patches/patch-aa
drochner d32bcba4ce seti@home client for the BOINC-3 framework
(tested on i386 and amd64, has runtime problems on sparc64)
2004-07-19 20:14:21 +00:00

13 lines
465 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2004/07/19 20:14:21 drochner Exp $
--- db/xml_util.h.orig 2004-07-16 00:36:18.000000000 +0200
+++ db/xml_util.h
@@ -381,7 +381,7 @@ std::vector<T> base85_decode(const char
if (p[i]!='_') break;
npads++;
}
- for (i=0;i<std::min(eol-p,5-npads);i++) {
+ for (i=0;i<std::min((int)(eol-p),5-npads);i++) {
val*=85;
if ((p[i]>='0') && (p[i]<='9')) {
val=p[i]-'0';