App warnings fixed. (#1118)

This commit is contained in:
masj-mobica
2024-03-09 08:02:26 +01:00
committed by GitHub
parent f72d3c833c
commit bc124fc873
6 changed files with 6 additions and 10 deletions

View File

@ -1026,7 +1026,7 @@ int JSON_ProcessCommandReply(const char* cmd, const char* arg, void* request, js
#if ENABLE_DRIVER_TUYAMCU
else if (!wal_strnicmp(cmd, "Dp", 2)) {
int id = -1;
if (isdigit(cmd[2])) {
if (isdigit((int)cmd[2])) {
sscanf(cmd + 2, "%i", &id);
}
http_obk_json_dps(id,request, printer);