summaryrefslogtreecommitdiffstats
path: root/backend_hiti.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend_hiti.c')
-rw-r--r--backend_hiti.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/backend_hiti.c b/backend_hiti.c
index aa1b905..cdbb6ef 100644
--- a/backend_hiti.c
+++ b/backend_hiti.c
@@ -2059,12 +2059,14 @@ static int hiti_query_counter(struct hiti_ctx *ctx, uint8_t arg, uint32_t *resp)
return CUPS_BACKEND_OK;
}
-static int hiti_query_serno(struct libusb_device_handle *dev, uint8_t endp_up, uint8_t endp_down, char *buf, int buf_len)
+static int hiti_query_serno(struct libusb_device_handle *dev, uint8_t endp_up, uint8_t endp_down, int iface, char *buf, int buf_len)
{
int ret;
uint16_t rsplen = 18;
uint8_t rspbuf[18];
+ UNUSED(iface);
+
struct hiti_ctx ctx = {
.dev = dev,
.endp_up = endp_up,