[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [patch] Compile failures on amd64/gcc 4.0
From:       Thiago Macieira <thiago.macieira () kdemail ! net>
Date:       2005-01-23 23:25:51
Message-ID: 200501232125.52025.thiago.macieira () kdemail ! net
[Download RAW message or body]


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.

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic