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:
parent
fe627697a3
commit
d710d60c31
@ -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;
|
||||
|
@ -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__ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user