[patch] Compile failures on amd64/gcc 4.0

Thiago Macieira thiago.macieira at kdemail.net
Sun Jan 23 23:25:51 GMT 2005

Mickael Marchand wrote:
>Thiago Macieira wrote:
>> Mickael Marchand wrote:
>>>+      int bits = (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.
  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ð geborod, swá se Scieppend cweað "Gewurde Unix" and 
wundor fremede and him "Unix" genemned, þæt is se rihtendgesamnung.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050123/f5d5ab4b/attachment.sig>

More information about the kde-core-devel mailing list