diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-02-03 09:32:10 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-02-03 09:32:10 +0000 |
commit | 7c0b3977df453d214dce86cf80acaac8d569e14b (patch) | |
tree | f7285892540a897129b89e2995ebb1b24587015b /net-p2p/jigdo | |
parent | d5c955e33a4415e30f06fe98c70958bc5a7f8cb0 (diff) | |
download | ports-7c0b3977df453d214dce86cf80acaac8d569e14b.tar.gz ports-7c0b3977df453d214dce86cf80acaac8d569e14b.zip |
Notes
Diffstat (limited to 'net-p2p/jigdo')
-rw-r--r-- | net-p2p/jigdo/files/patch-aa | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-p2p/jigdo/files/patch-aa b/net-p2p/jigdo/files/patch-aa new file mode 100644 index 000000000000..b057cf97e4cc --- /dev/null +++ b/net-p2p/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 + | \/¯| <richard at atterer.net> +@@ -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<size_t>(len), bufferLength); + Paranoid(off == nextEvent || off == nextAlignedOff); + # if DEBUG + for (unsigned i = 0; i < len; ++i) { + |