From kde-core-devel Sat Jan 08 16:06:58 2005 From: Thiago Macieira Date: Sat, 08 Jan 2005 16:06:58 +0000 To: kde-core-devel Subject: Re: [patch] Compile failures on amd64/gcc 4.0 Message-Id: <200501081406.58545.thiago () macieira ! info> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=110520046625352 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart2897302.Px8R9Q0uMZ" --nextPart2897302.Px8R9Q0uMZ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Mickael Marchand wrote: >+ =C2=A0 =C2=A0 =C2=A0int bits =3D (ptrdiff_t)syms->modsyms[res]-1; Why don't you declare those variables as ptrdiff_t as well? gcc may not display a warning about loss of precision, but it will happen=20 nonetheless. =2D-=20 Thiago Macieira - thiago (AT) macieira (DOT) info PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 3. Ac seo woruld wear=C3=B0 geborod, sw=C3=A1 se Scieppend cwea=C3=B0 "Gewu= rde Unix" and=20 wundor fremede and him "Unix" genemned, =C3=BE=C3=A6t is se rihtendgesamnun= g. --nextPart2897302.Px8R9Q0uMZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBB4AUiM/XwBW70U1gRAi6tAJwJP4RInRV7JZrmj2TNTMlkZOmhFQCeLGYR 2tnkgHaR3W1JZimUjmQqH1M= =DMbm -----END PGP SIGNATURE----- --nextPart2897302.Px8R9Q0uMZ--