Add -Wsign-compare to the build Add -Wsign-compare to the build as comparisons between a negative signed int and a positive unsigned int don't compare as expected. Fix up the comparisons then flagged. This includes moving to zero-based indices for the cull tables. Signed-off-by: David Howells <dhowells@redhat.com>