Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/tests/test-stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/tests/test-stream.c b/server/tests/test-stream.c index d56109d1..54fbf259 100644 --- a/server/tests/test-stream.c +++ b/server/tests/test-stream.c @@ -113,9 +113,9 @@ int main(int argc, char *argv[]) return -1; } - st[0] = red_stream_new(server, sv[0]); + st[0] = red_stream_new(server, SOCKET_FROM_INT(sv[0])); spice_assert(red_stream_is_plain_unix(st[0])); - st[1] = red_stream_new(server, sv[1]); + st[1] = red_stream_new(server, SOCKET_FROM_INT(sv[1])); spice_assert(red_stream_is_plain_unix(st[1])); /* send stdin, for the fun of it */ -- 2.17.2 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel