Rhialto wrote:
On Sat 21 Apr 2007 at 12:00:08 -0500, Charles Kerr wrote:
This is another incremental release -- bugfixes, some speedups,
a little more polish, and one of the better release titles in awhile. ;)
Unfortunately it fails to build, complaining about function "max()":
This may be because I'm building on an amd64 (LP64) machine.
I'm building on an amd64 as well.
Give this a shot:
Index: pan/data/article.cc
===================================================================
--- pan/data/article.cc (revision 241)
+++ pan/data/article.cc (working copy)
@@ -153,7 +153,7 @@
kc = &key.back();
mc = &mid.back();
- ke = key.str + 1 + std::max (int(b), (int)minlen - UCHAR_MAX);
+ ke = key.str + 1 + std::max (int(b), (int)minlen - (int)UCHAR_MAX);
while (kc>ke)
if (*kc-- != *mc--) { ++kc; break; }
const size_t e (&key.back() - kc);
_______________________________________________
Pan-users mailing list
Pan-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/pan-users