mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2025-12-16 21:05:36 +01:00
Add cast to silence a compiler warning
This commit is contained in:
parent
dc5b974e74
commit
ad4e1541de
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue