From kde-core-devel Sun Jan 23 23:25:51 2005 From: Thiago Macieira Date: Sun, 23 Jan 2005 23:25:51 +0000 To: kde-core-devel Subject: Re: [patch] Compile failures on amd64/gcc 4.0 Message-Id: <200501232125.52025.thiago.macieira () kdemail ! net> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=110652279114977 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart1214587.Rn4aNBJN5y" --nextPart1214587.Rn4aNBJN5y Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Mickael Marchand wrote: >Thiago Macieira wrote: >> Mickael Marchand wrote: >>>+ int 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 nonetheless. > >hmm ok, > >like this ? Patch looks ok. =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. --nextPart1214587.Rn4aNBJN5y Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBB9DJ/M/XwBW70U1gRAgSfAJ99i7ZjzMVI/hrm4zPFR1NBYk8WjACfc7PW IO0qihGJmG6URslG+VhxFXc= =JszU -----END PGP SIGNATURE----- --nextPart1214587.Rn4aNBJN5y--