nsxiv/.woodpecker
NRK c131b1ed83 fix: -Wsign-compare warnings (#336)
mixing signed and unsigned types in comparison can end up having
unintended results. for example:

	if (-1 < 1U)
		printf("true\n");
	else
		printf("false\n");

previously we silenced these warnings, instead just fix them properly
via necessary casting, and in cases where the value cannot be negative
(e.g width/height members) make them unsigned.

Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/336
Reviewed-by: explosion-mental <explosion-mental@noreply.codeberg.org>
2022-07-15 22:46:23 +02:00
..
analysis.yml [ci]: skip the pipeline entirely if branch isn't master 2022-06-25 08:27:01 +02:00
build.yml [ci]: skip the pipeline entirely if branch isn't master 2022-06-25 08:27:01 +02:00
CFLAGS fix: -Wsign-compare warnings (#336) 2022-07-15 22:46:23 +02:00
clang-tidy-checks sort and group includes 2022-06-28 21:28:06 +02:00
spell.yml [ci]: check for typos via codespell (#326) 2022-06-27 10:47:14 +02:00