28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
|
From 8e9e3f1d8961615e6c12306014dcf8538d7e37de Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
|
||
|
Date: Wed, 4 Dec 2019 14:22:30 +0100
|
||
|
Subject: [PATCH 082/181] vfs0050: Use proper casting summing pointers first
|
||
|
|
||
|
Cast the pointers as what fpi usb transfer expects.
|
||
|
---
|
||
|
libfprint/drivers/vfs0050.c | 3 ++-
|
||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/libfprint/drivers/vfs0050.c b/libfprint/drivers/vfs0050.c
|
||
|
index bb6851f..b08a865 100644
|
||
|
--- a/libfprint/drivers/vfs0050.c
|
||
|
+++ b/libfprint/drivers/vfs0050.c
|
||
|
@@ -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,
|
||
|
--
|
||
|
2.24.1
|
||
|
|