diff --git a/daemon/dispatch.c b/daemon/dispatch.c index e9fe260168d9bb1aee8037527a6dbea4f4a9d985..ae4f60df4a2e8a9a40f6d60cc8e46f4c9530fdbb 100644 --- a/daemon/dispatch.c +++ b/daemon/dispatch.c @@ -589,7 +589,7 @@ int remoteSendStreamData(struct qemud_client *client, struct qemud_client_stream *stream, const char *data, - size_t len) + unsigned int len) { struct qemud_client_message *msg; XDR xdr; diff --git a/daemon/dispatch.h b/daemon/dispatch.h index a5bf4741d05223fd417bd8c695dbfc0fdee8abe3..ed9d89d20b6992e626272bd9858ede468acb7701 100644 --- a/daemon/dispatch.h +++ b/daemon/dispatch.h @@ -75,6 +75,6 @@ int remoteSendStreamData(struct qemud_client *client, struct qemud_client_stream *stream, const char *data, - size_t len); + unsigned int len); #endif /* __LIBVIRTD_DISPATCH_H__ */