From 48a11a225263a2d9cf16025ec172b8061d97d752 Mon Sep 17 00:00:00 2001 From: arved Date: Tue, 3 Feb 2004 09:32:10 +0000 Subject: Fix Build on AMD64 Submitted by: Attila Nagy --- ftp/jigdo/files/patch-aa | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ftp/jigdo/files/patch-aa (limited to 'ftp') diff --git a/ftp/jigdo/files/patch-aa b/ftp/jigdo/files/patch-aa new file mode 100644 index 000000000000..b057cf97e4cc --- /dev/null +++ b/ftp/jigdo/files/patch-aa @@ -0,0 +1,18 @@ +--- src.orig/mktemplate.cc ++++ src/mktemplate.cc +@@ -1,4 +1,4 @@ +-/* $Id: mktemplate.cc,v 1.92 2003/04/27 15:57:21 richard Exp $ -*- C++ -*- ++/* $Id: mktemplate.cc,v 1.93 2003/05/06 19:12:14 richard Exp $ -*- C++ -*- + __ _ + |_) /| Copyright (C) 2001-2002 Richard Atterer + | \/¯| +@@ -643,7 +643,7 @@ + Paranoid(*data + len <= bufferLength); + rsum->addBack(buf + *data, len); + *data += len; off += len; *n -= len; +- *rsumBack = modAdd(*rsumBack, len, bufferLength); ++ *rsumBack = modAdd(*rsumBack, implicit_cast(len), bufferLength); + Paranoid(off == nextEvent || off == nextAlignedOff); + # if DEBUG + for (unsigned i = 0; i < len; ++i) { + -- cgit