Date: Tue, 03 Feb 2004 09:38:47 +0100 From: Attila Nagy <bra@fsn.hu> To: ports@freebsd.org Cc: amd64@freebsd.org Subject: [Fwd: Re: jigdo-0.7.0 broken on amd64] Message-ID: <401F5E17.2060306@fsn.hu>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------040208030402080904010503 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Kris Kennaway wrote: > http://bento.freebsd.org/errorlogs/amd64-5-latest/jigdo-0.7.0.log > Can you please investigate and/or report to the developers? I've attached a patch which should correct the problem. Could you please test it? Thanks, -- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone @work: +361 210 1415/127 ISOs: http://www.fsn.hu/?f=download cell.: +3630 306 6758 --------------040208030402080904010503 Content-Type: text/plain; name="patch-aa" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="patch-aa" --- 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 | \/=AF| <richard at atterer.net> @@ -643,7 +643,7 @@ Paranoid(*data + len <=3D bufferLength); rsum->addBack(buf + *data, len); *data +=3D len; off +=3D len; *n -=3D len; - *rsumBack =3D modAdd(*rsumBack, len, bufferLength); + *rsumBack =3D modAdd(*rsumBack, implicit_cast<size_t>(len), bufferLe= ngth); Paranoid(off =3D=3D nextEvent || off =3D=3D nextAlignedOff); # if DEBUG for (unsigned i =3D 0; i < len; ++i) { --------------040208030402080904010503--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?401F5E17.2060306>