aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClemens Fries <github-raster@xenoworld.de>2020-10-05 19:03:48 +0200
committerClemens Fries <github-raster@xenoworld.de>2020-10-05 19:03:48 +0200
commit8bc82a5e9843bbc8c660d343c928e1fedaa3680f (patch)
tree0c8d5e2b1cfab6cbb6a1d8e3119a6ff23b51c5b0
parentd8fb0709843fc8655a669671a688a459769aa518 (diff)
rastertoql570.c: Use char* instead of uint8_t* for cupsBackChannelReadHEADmaster
-rw-r--r--src/rastertoql570.c2
1 files changed, 1 insertions, 1 deletions
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;