[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 12/16] convert net_init_socket() to NetClientOpt
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 12/16] convert net_init_socket() to NetClientOptions |
Date: |
Tue, 05 Jun 2012 23:27:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
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