Date: Thu, 26 Dec 2002 19:40:06 +0000 (UTC) From: "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net> To: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= <mbsd@pacbell.net> Cc: sparc@FreeBSD.org Subject: Re: port fix test request Message-ID: <Pine.BSF.4.44.0212261924000.647-100000@e0-0.zab2.int.zabbadoz.net> In-Reply-To: <20021226103324.E2299-100000@atlas.home>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 26 Dec 2002, Mikko Ty=F6l=E4j=E4rvi wrote: > > Makefile.sparc64 to Makefile.`uanme -m` . > > Yes, it does. good. > > +-=09size_t=09rc =3D iconvTo(wideCharBuf, &wLent, &ptr, neededLen); > > ++=09size_t=09rc =3D iconvTo(wideCharBuf, (size_t *)&wLent, &ptr, neede= dLen); > > This isn't right (if I'm reading the source correctly, where "wLent" > is an unsigned int, not a size_t; 32-bits vs 64-bits on sparc64, which > is big-endian, so it won't even work by mistake ;-). > > You need to give iconvTo() the address of a genuine size_t, if that is > what it wants; i.e. either make wLent a size_t or use a temporary > variable. Or something. thanks. I will recheck this and make a correct patch as it also will not work on alpha then. size_t is an unsigned long on sparc ? nonetheless does it compile or does it still error out at make configure ? --=20 Bjoern A. Zeeb=09=09=09=09bzeeb at Zabbadoz dot NeT 56 69 73 69 74=09=09=09=09http://www.zabbadoz.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.44.0212261924000.647-100000>