Skip to content

Commit

Permalink
Minor, fix signed vs unsigned comparison warning
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Dec 5, 2024
1 parent 560dcd3 commit 6cca922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static void ipc_read(int sd)
}

pos += rc;
if (pos > sizeof(buf) - 1) {
if (pos > (int)sizeof(buf) - 1) {
smclog(LOG_WARNING, "Too large IPC message, unsupported.");
return;
}
Expand Down

0 comments on commit 6cca922

Please sign in to comment.