From 965cba1e044928c85acc422b70e259e7b0810b33 Mon Sep 17 00:00:00 2001 From: Christophe de Dinechin Date: Fri, 10 Nov 2017 16:15:44 +0100 Subject: Switch 'blocking' flag to bool Signed-off-by: Christophe de Dinechin Acked-by: Frediano Ziglio --- src/spice-streaming-agent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp index 1090517..973192b 100644 --- a/src/spice-streaming-agent.cpp +++ b/src/spice-streaming-agent.cpp @@ -146,7 +146,7 @@ static int read_command_from_device(void) return 1; } -static int read_command(int blocking) +static int read_command(bool blocking) { int fd, n=1; int timeout = blocking?-1:0; -- cgit v1.2.3