1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/ftp/jigdo/files/patch-aa
Tilman Keskinoz 7c0b3977df Fix Build on AMD64
Submitted by:	Attila Nagy <bra@fsn.hu>
2004-02-03 09:32:10 +00:00

19 lines
706 B
Plaintext

--- 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) {