commit | 8f548f6c86ff1bc9b63b86995c5dea1616ac97d3 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Tue Apr 18 11:48:49 2023 +0930 |
committer | Andrew Jeffery <andrew@aj.id.au> | Wed Apr 19 08:19:26 2023 +0930 |
tree | ffeb7c0c254f3039a2f46b2684f275eadafa945a | |
parent | c7a8f001a6ef9464c27af608b3e443a6dc40ebaa [diff] [blame] |
obmc-console: Clean up invalid sign comparisons Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I83fae6857620ca2913952bea597c1299dd962620
diff --git a/console-socket.c b/console-socket.c index b0cd452..461f151 100644 --- a/console-socket.c +++ b/console-socket.c
@@ -43,7 +43,7 @@ if (rc < 0) return rc; - if (rc > (sizeof(addr->sun_path) - 1)) { + if ((size_t)rc > (sizeof(addr->sun_path) - 1)) { errno = 0; return -1; }