Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
--- 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) {

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?401F5E17.2060306>