Date: Wed, 23 Jul 2003 15:18:57 +0200 From: Simon Barner <barner@in.tum.de> To: Kris Kennaway <kris@obsecurity.org> Cc: current@FreeBSD.org Subject: Re: Fixing gcc 3.3 compile failures -fix for textproc/xmlppm Message-ID: <20030723131857.GK566@zi025.glhnet.mhn.de> In-Reply-To: <20030718025200.GA36893@rot13.obsecurity.org> References: <20030718025200.GA36893@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030723131857.GK566>
