Il 05/06/2012 23:14, Eric Blake ha scritto:
> On 06/05/2012 03:02 PM, Paolo Bonzini wrote:
>> Il 22/05/2012 12:45, Laszlo Ersek ha scritto:
>>> +    if (sock->has_fd + sock->has_listen + sock->has_connect + 
>>> sock->has_mcast +
>>> +        sock->has_udp != 1) {
>>
>> Please add a cast, this doesn't work with C99 bool.
> 
> Huh?  Where does C99 state that?

Doh, I confused ++ and +.

Thanks for restoring some of my faith in X3J11.

Paolo

Reply via email to