From owner-freebsd-current@FreeBSD.ORG Wed Jul 23 06:18:59 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5BD937B401; Wed, 23 Jul 2003 06:18:59 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21DE143FAF; Wed, 23 Jul 2003 06:18:59 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id D65DD388BD; Wed, 23 Jul 2003 15:18:57 +0200 (CEST) Date: Wed, 23 Jul 2003 15:18:57 +0200 From: Simon Barner To: Kris Kennaway Message-ID: <20030723131857.GK566@zi025.glhnet.mhn.de> References: <20030718025200.GA36893@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vBRosIkLXbYTRpGW" Content-Disposition: inline In-Reply-To: <20030718025200.GA36893@rot13.obsecurity.org> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: ports@FreeBSD.org cc: current@FreeBSD.org Subject: Re: Fixing gcc 3.3 compile failures -fix for textproc/xmlppm X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 13:19:00 -0000 --vBRosIkLXbYTRpGW Content-Type: multipart/mixed; boundary="gSSGYPGSs0dvYOj7" Content-Disposition: inline --gSSGYPGSs0dvYOj7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline --gSSGYPGSs0dvYOj7 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-IFile.cpp" --- IFile.cpp.orig Wed Jul 23 04:32:54 2003 +++ IFile.cpp Wed Jul 23 04:35:43 2003 @@ -100,7 +100,7 @@ while(insz > 0) { size_t result; outsz = BUFFSIZE; - result = iconv(ifile->iconv, &(char*)inptr, &insz, &outptr, &outsz); + result = iconv(ifile->iconv, &inptr, &insz, &outptr, &outsz); total += fwrite(outbuf, sizeof(char), BUFFSIZE-outsz, ifile->file); if(result == (size_t)-1 && errno != E2BIG) { return total; --gSSGYPGSs0dvYOj7-- --vBRosIkLXbYTRpGW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/HotBCkn+/eutqCoRAv9AAJ41qhc4vQkcRYSVH0fWahdhySLl8gCg03jV lDNvuVMUnIC/WNiFiHQRAm0= =a4ko -----END PGP SIGNATURE----- --vBRosIkLXbYTRpGW--