]> git.ipfire.org Git - thirdparty/make.git/commit
* src/arscan.c (ar_scan): Avoid sign comparison warnings
authorPaul Smith <psmith@gnu.org>
Sun, 2 Oct 2022 22:34:07 +0000 (18:34 -0400)
committerPaul Smith <psmith@gnu.org>
Mon, 3 Oct 2022 19:11:57 +0000 (15:11 -0400)
commitca92d83cde6ce6c0c42c60d95c711d5334b76b20
tree29efa54bc77cc4f6e67c5cdd4ccb58618469b7fc
parentae80eefe6559b21de6469ee7d48e418452ef3af7
* src/arscan.c (ar_scan): Avoid sign comparison warnings

Pacify 12.2.1 20220819 (Red Hat 12.2.1-2) -Wsign-compare by checking
the readbuf() return explicitly for errors then casting from ssize_t.
Initial patch provided by Paul Eggert <eggert@cs.ucla.edu>.
src/arscan.c