Re: [Spice-devel] [PATCH spice-server 6/6] main-dispatcher: Avoid type conversion in dispatcher_handle_read

2017-09-07 Thread Christophe Fergeau
Acked-by: Christophe Fergeau On Thu, Sep 07, 2017 at 12:40:26PM +0100, Frediano Ziglio wrote: > Pass proper type to callback to avoid having to convert to > the right type for each call. > > Signed-off-by: Frediano Ziglio > --- > This make

[Spice-devel] [PATCH spice-server 6/6] main-dispatcher: Avoid type conversion in dispatcher_handle_read

2017-09-07 Thread Frediano Ziglio
Pass proper type to callback to avoid having to convert to the right type for each call. Signed-off-by: Frediano Ziglio --- This make dispatcher_handle_read identical to handle_dev_input. --- server/main-dispatcher.c | 6 +++--- 1 file changed, 3 insertions(+), 3