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

List:       linux-ha-dev
Subject:    Re: [Linux-ha-dev] membership/ccm/ccmclient.c bug
From:       Huang Zhen <zhenhltc () cn ! ibm ! com>
Date:       2006-03-16 23:58:35
Message-ID: 4419FBAB.4020800 () cn ! ibm ! com
[Download RAW message or body]

Hi,

Sorry for losting the second place...sorry for that.
Thank you for the help!

David Lee wrote:
> On Wed, 15 Mar 2006, David Lee wrote:
> 
> 
>>"membership/ccm/ccmclient.c" is now failing to compile on 64-bit Linux:
>>
>>   ../../../membership/ccm/ccmclient.c: In function 'send_func':
>>   ../../../membership/ccm/ccmclient.c:99: warning: cast from pointer to integer of different size
>>   ../../../membership/ccm/ccmclient.c: In function 'send_all':
>>   ../../../membership/ccm/ccmclient.c:186: warning: cast to pointer from integer of different size
>>   gmake[2]: *** [ccmclient.o] Error 1
>>
>>Casting between "gpointer user_data" and "int msg_type = (int) user_data;"
>>etc. at rev. 1.37 (two days ago).  Could you take a look, please.
> 
> 
> Huang Zhen: Many thanks for fixing the bug at line 99 a few hours ago.
> Much appreciated.
> 
> Now I've seem your model for doing that, which looks good and clean, I
> have adopted it for fixing the similar (inverse, complementary) issue at
> line 186.
> 
> It now compiles cleanly on all my platforms (32-bit Linux, 64-bit Linux,
> several Solaris releases with different gcc etc.).
> 
> Thanks.
> 
> 


-- 
Best Regards,
Huang Zhen
Linux Technology Center
IBM China Development Lab, Beijing
Telno: (8610)82782244-2845
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

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