summaryrefslogtreecommitdiff
path: root/src/libptouch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libptouch.c')
-rw-r--r--src/libptouch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libptouch.c b/src/libptouch.c
index 73aa763..acbda17 100644
--- a/src/libptouch.c
+++ b/src/libptouch.c
@@ -251,7 +251,7 @@ int ptouch_send_precut_cmd(ptouch_dev ptdev, int precut)
if (precut) {
cmd[3] = 0x40;
}
- return ptouch_send(ptdev, cmd, sizeof(cmd)-1);
+ return ptouch_send(ptdev, (uint8_t *)cmd, sizeof(cmd)-1);
}
int ptouch_rasterstart(ptouch_dev ptdev)