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()
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;
remoteSendStreamData(struct qemud_client *client,
struct qemud_client_stream *stream,
const char *data,
- size_t len);
+ unsigned int len);
#endif /* __LIBVIRTD_DISPATCH_H__ */