vfs0050: Use proper casting summing pointers first
Cast the pointers as what fpi usb transfer expects.
This commit is contained in:
parent
5ab4d6c454
commit
cacce50ef9
1 changed files with 2 additions and 1 deletions
|
@ -595,7 +595,8 @@ activate_ssm (FpiSsm *ssm, FpDevice *dev)
|
|||
/* Receive chunk of data */
|
||||
transfer = fpi_usb_transfer_new (dev);
|
||||
fpi_usb_transfer_fill_bulk_full (transfer, 0x82,
|
||||
(void *) self->lines_buffer + self->bytes,
|
||||
(guint8 *)
|
||||
(self->lines_buffer + self->bytes),
|
||||
VFS_USB_BUFFER_SIZE, NULL);
|
||||
transfer->ssm = ssm;
|
||||
fpi_usb_transfer_submit (transfer, VFS_USB_TIMEOUT, NULL,
|
||||
|
|
Loading…
Reference in a new issue