Add cast to silence a compiler warning

This commit is contained in:
Ed Maste 2024-02-03 16:46:09 -05:00 committed by Dominic Radermacher
parent dc5b974e74
commit ad4e1541de
1 changed files with 1 additions and 1 deletions

View File

@ -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)