From 8bc82a5e9843bbc8c660d343c928e1fedaa3680f Mon Sep 17 00:00:00 2001 From: Clemens Fries Date: Mon, 5 Oct 2020 19:03:48 +0200 Subject: rastertoql570.c: Use char* instead of uint8_t* for cupsBackChannelRead --- src/rastertoql570.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rastertoql570.c') diff --git a/src/rastertoql570.c b/src/rastertoql570.c index 07a696e..891b14d 100644 --- a/src/rastertoql570.c +++ b/src/rastertoql570.c @@ -319,7 +319,7 @@ init(ql_status *status, FILE* device) bool backchannel_read_status(ql_status* status) { - ssize_t ret = cupsBackChannelRead((uint8_t*)status, sizeof(ql_status), 10.0); + ssize_t ret = cupsBackChannelRead((char*)status, sizeof(ql_status), 10.0); if (ret != sizeof(ql_status)) return false; -- cgit