1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00

Change signature of remoteSendStreamData() to fix compile warning

The actual type of size_t is architecture dependent. Because the len
parameter is used as unsigned int in remoteSendStreamData(), change its
type to unsigned int.

* daemon/dispatch.[ch]: change size_t to unsigned int for
  remoteSendStreamData()
This commit is contained in:
Matthias Bolte 2009-09-30 12:37:10 +02:00
parent fe627697a3
commit d710d60c31
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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__ */