diff options
-rw-r--r-- | src/rastertoql570.c | 2 |
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; |