提交 f61d6960 编写于 作者: G Gerd Hoffmann

spice-core: fix warning when building with spice < 0.6.0

Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 3d6d306c
...@@ -240,7 +240,7 @@ void qemu_spice_init(void) ...@@ -240,7 +240,7 @@ void qemu_spice_init(void)
char *x509_key_file = NULL, char *x509_key_file = NULL,
*x509_cert_file = NULL, *x509_cert_file = NULL,
*x509_cacert_file = NULL; *x509_cacert_file = NULL;
int port, tls_port, len, addr_flags, streaming_video; int port, tls_port, len, addr_flags;
spice_image_compression_t compression; spice_image_compression_t compression;
spice_wan_compression_t wan_compr; spice_wan_compression_t wan_compr;
...@@ -344,7 +344,7 @@ void qemu_spice_init(void) ...@@ -344,7 +344,7 @@ void qemu_spice_init(void)
str = qemu_opt_get(opts, "streaming-video"); str = qemu_opt_get(opts, "streaming-video");
if (str) { if (str) {
streaming_video = parse_stream_video(str); int streaming_video = parse_stream_video(str);
spice_server_set_streaming_video(spice_server, streaming_video); spice_server_set_streaming_video(spice_server, streaming_video);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册